make invalid search a warning