replace_and_base_of_catalog