Corrected bugs in field init