fixing categories and colors