make autocompletion work (fix #112)