prevent empty response ruining the search form