solve attribute_enums all errors