make contract.isActive always editable #796