undo devmode