validate client safe_mode