fixed field name 'num'

The correct field name is now 'offset' and not 'num'.