quickfix the charID reset before newclassname #808