change packet_size to packetSize_