diff --git a/test/test_loopy.py b/test/test_loopy.py
index 70885b879b2c67fa6a2adcb1321bd8c4fb58123a..a341eb81b1529f946004e95b0e1e5ad5931473ae 100644
--- a/test/test_loopy.py
+++ b/test/test_loopy.py
@@ -2578,9 +2578,9 @@ def test_random123(ctx_factory, tp):
             """
             <> key2 = make_uint2(i, 324830944) {inames=i}
             <> key4 = make_uint4(i, 324830944, 234181, 2233) {inames=i}
-            <> ctr = make_uint4(0, 1, 2, 3) {inames=i}
-            <> real, ctr = philox4x32_TYPE(ctr, key2)
-            <> imag, ctr = threefry4x32_TYPE(ctr, key4)
+            <> ctr = make_uint4(0, 1, 2, 3)  {inames=i,id=init_ctr}
+            <> real, ctr = philox4x32_TYPE(ctr, key2)  {dep=init_ctr}
+            <> imag, ctr = threefry4x32_TYPE(ctr, key4)  {dep=init_ctr}
 
             out[i, 0] = real.s0 + 1j * imag.s0
             out[i, 1] = real.s1 + 1j * imag.s1