Fixed char-delete issue