Fix FixedLengthPacket to not crash