Fix categories class