resolve typeahead