fix ImmutableAttributeModification exception