fix dictionary autocompletion