undo error checking