fixup bad character