minor changes to typeahead