diff --git a/dumux/discretization/cellcentered/mpfa/omethod/staticinteractionvolume.hh b/dumux/discretization/cellcentered/mpfa/omethod/staticinteractionvolume.hh
index 2bf2a9d49b1cf537f861ccbe39b142cdfa89f2b9..7456191a3568c08f0be1eab130904c03ca59992c 100644
--- a/dumux/discretization/cellcentered/mpfa/omethod/staticinteractionvolume.hh
+++ b/dumux/discretization/cellcentered/mpfa/omethod/staticinteractionvolume.hh
@@ -65,8 +65,8 @@ private:
     using GridIndexType = typename NI::GridIndexType;
     using LocalIndexType = typename NI::LocalIndexType;
 
-    static constexpr int dim = NI::GridView::dimension;
-    static constexpr int dimWorld = NI::GridView::dimensionworld;
+    static constexpr int dim = NI::Traits::GridView::dimension;
+    static constexpr int dimWorld = NI::Traits::GridView::dimensionworld;
 
     //! Matrix/Vector traits to be used by the data handle
     struct MVTraits