Fixed bug with PacketReader