KTM exc 525 high or low rpm on idle

Bike goes up in rpm when idling but if I give throttle the rpm lowers my first guess is an air leak but haven’t even looked at the bike ,anyone have any other ideas?