fixed unpack exception