use safe dump