small fix for search