Fixed typo in rotate