cancel the display of exception for undo and redo