fixes to categories