fix for categories