handle empty searches
handle selections better