Fixed minor rotate issue