normalizing categories