bad character fix