Fixing rnd.