fixed char printing defect