bind to autocompleted event