prevent blank search'