fix typeahead example