fix global search behavior