subcategories with same basename but different parents were not unique. fixed now