dry up handleSearch