make no search if query is empty