revert safe_mode statement