fixed autosuggest for es 1.0