Play SLOW. Until you can play FLAWLESSLY at a slow speed over and over. Boring maybe but it's the key to nailing them. If you speed up sloppy playing that's all you have...sloppy scales!
Get all the notes and transfer of fingers down...speeding it up after you've nailed them is the easy bit!
Good luck!