fix typeahead