bug fixing on Packet with lists