fix typeahead complete