undo debug mode