fix typeahead options

You can override the typeahead options by arguments.