fixed rotation before moving