fixing rotate