better global search error handling