simplify categories