fix the rotation using the old version