Fixing the rotate