fix create_json