fix RNG generator so as not to step on its own toes