Fix : field.length undefined
Merge pull request #520 from ifsnow/fix-field-length

Fix : field.length undefined