Fix rotation's buug