fixes to category search