attempt to fix the rotation problem