restore parent_resource of project