fix live autocompletion