minimal improvements to categories
fix to prev commit