corrected turning of robot