fix autocompletion