undo strange mode change