Fixing the creation of the fields.