undef contracts when set so and support for lone fields (contracts)