if you're sure it's that line then this is a rando...
# general
j
if you're sure it's that line then this is a random shot in the dark but try this
<#assign kitobject = record.custpage_kits?string?eval>