typeahead bug fixed