added field to field comparison logic and err reporting