restore the reset of the internal counters, to be closer to the original randinit