fixes cms ChatFormatting and RangedAttribute