A lot of small fixes in the field generator

A lot of small fixes in the field generator