[Typeahead] some fixes