remove duplicate maincategory table