fixed problem with selecting from search results