#109: fixed null error in prefix autocompletion