check for empty searches
pr fix
merge conflick
pr fix