improve display of search errors