fix filter bug in category