fix search with category