fixes when editing product instances.