diff --git a/python/dune/perftool/loopy/transformations/collect_rotate.py b/python/dune/perftool/loopy/transformations/collect_rotate.py
index 43274b99154a256c637ebfa2a0b6f1b39b71a36c..c066144752cd348c759d3f3d7c42f1d0a8a12874 100644
--- a/python/dune/perftool/loopy/transformations/collect_rotate.py
+++ b/python/dune/perftool/loopy/transformations/collect_rotate.py
@@ -154,6 +154,7 @@ def collect_vector_data_rotate(knl):
                                                        prim.Subscript(prim.Variable(quantity), tuple(prim.Variable(i) for i in cinsn_inames)),
                                                        within_inames=common_inames.union(inames).union(frozenset(cinsn_inames)),
                                                        within_inames_is_final=True,
+                                                       depends_on=frozenset({Writes(quantity)}),
                                                        id=cinsn_id,
                                                        ))
                         all_writers.append(cinsn_id)
diff --git a/python/dune/perftool/sumfact/amatrix.py b/python/dune/perftool/sumfact/amatrix.py
index 7585281bdee7b44f8d21065405115b2dc6e9ddca..6cadb6193d8c22b954e0db80825b5ad1897198e4 100644
--- a/python/dune/perftool/sumfact/amatrix.py
+++ b/python/dune/perftool/sumfact/amatrix.py
@@ -70,10 +70,11 @@ class LargeAMatrix(ImmutableRecord):
 
     @property
     def name(self):
-        name = "ThetaLarge{}{}_{}".format("face{}_".format(self.face) if self.face is not None else "",
-                                          "T" if self.transpose else "",
-                                          "_".join(tuple("d" if d else "" for d in self.derivative))
-                                          )
+        name = "ThetaLarge{}{}_{}_qp{}".format("face{}_".format(self.face) if self.face is not None else "",
+                                               "T" if self.transpose else "",
+                                               "_".join(tuple("d" if d else "" for d in self.derivative)),
+                                               quadrature_points_per_direction(),
+                                               )
         for i, d in enumerate(self.derivative):
             define_theta(name, (self.rows, self.cols), self.transpose, d, face=self.face, additional_indices=(i,))