Update fields.lua

we missed an 'end' last night