Removing bad character