fixed bug with multiple search results