Hardware latency issue

Hi,



I’m using ableton to control a microkorg with the aim of recording the synth parts in once I’m happy with them.



My problem is that when I add midi notes in the piano roll and hit play, my microkorg is running slightly behind ableton.



I have checked that my microkorg is synced correctly so I assume its a midi issue…does anyone have any idea what i need to do to get ableton and my microkorg synced perfectly?



Cheers,

Simon