command rotate correction