fixed autocompletion apparent hang due to logging