fix small bug in Categories