bugfix. autocompletion selection on enter