fix city and subcategory linking