Fixed the RNG