Servo twitching please help

As the last thing in the startup() function do a:-
myservo.write(90 ) ; // set servo to mid-point