load to safe_load