trigger immutable error only if new value != old value