fix bugs in category list