fix setRotation