Fix random source choice