removing excessive categories