typeahead fixes