fixes to global search