fix rng seed initialization bug