Removing useless categories