Fix bad characters