improve typeahead