bug fixes around new_resource.path