fixed typo in field code