Fix categories error