Fix RNG.