remove bad chars