fix bug in for pack 'struct in struct' data