fix project file
Revert to reading packetLength, thanks to supersat.