fix a bug in AutoCompletionBinding