changes made for category search