fixed minor bug in category