Update fields.lua

we missed an 'end' last night
Update fields.lua
Merge pull request #1096 from mujihina/patch-1

Update fields.lua