fixed bug in routing, move uniqueness from config_name to config_(name, catalog)