undo to correct order