fix typeahead url def