Make changes that will keep the front end up and/or let the rear end squat. First check to make sure your spring rates are correct and balanced front and rear by checking loaded and static sag for both fork and shock.
After that, I would check and adjust the following to get the bike balanced and feeling right (the ktms are generally quite stable - so I would guess suspension settings will solve issue).
1. Increase compression dampening on the front forks.
2. Check race sag and set to 100mm as baseline.
3. Reduce rebound on front forks a little.
4. Increase rebound on rear shock a little.
Making one change at a time I would go in 4 clicks on compression on forks (to 12 clicks out) and take another run down the same straight (run over same terrain repeatedly then go ride in another area to see if it works okay there too).
If you haven't changed your front fork oil in a while, I would freshen it up with spectro SX.
jeff
www.gasgasrider.org GasGas Rider's Club
www.lt-racing.com GasGas Performance Products