remove duplication of primary category