fix links to properly reference ref_resource