prevent error in autocompletion