improve typeahead search