prevent attributes and properties from going out of sync when
the attribute is manually changed.