prng fixes