fix buffer overflow using german language.