correct calculation of packets when they don't have message data