remove bad character