Fixed bug rotation