fix for #10 warn about duplicate field defs