fixed annoying typeahead issue