rename field offset as it's a reserved word in postgres