fixed packetlength check