fixed the rotation