fixed autocomplete/search behavior