change recvCounter reinit way