reduce categories