Fix multi frames in a packet.