fix bad character