fix NPE in translation wizard