Fix RNG