fixing search results empty result output