clean bad chars