bugs 3912, 4144: can now add contracts if dataformat is not metric