solve the issue of category search