fixed typeahead pluginEvents