fixed search results bug