fix language_attributes error