bugfix to autocompletion display