small fix in SearchController