marshal unpack cast bug