Fix bug in rng reference