typeahead now work in production mode