fix category search