delete bad character