fix issue with SearchController