fix default value for Resource::resource_path