diff --git a/dumux/porousmediumflow/boxdfm/fvgridgeometry.hh b/dumux/porousmediumflow/boxdfm/fvgridgeometry.hh
index e87a7bc0d4b2a87e3a72bebc38d9454867eeec29..831c1af1ab5d0e91fbb80924f62a43227e57a4b9 100644
--- a/dumux/porousmediumflow/boxdfm/fvgridgeometry.hh
+++ b/dumux/porousmediumflow/boxdfm/fvgridgeometry.hh
@@ -413,7 +413,7 @@ public:
     //! Constructor
     BoxDfmFVGridGeometry(const GridView gridView)
     : ParentType(gridView)
-    , facetMapper_(gridView, Dune::mcmgLayout(Dune::template Codim<dim-1>()))
+    , facetMapper_(gridView, Dune::mcmgLayout(Dune::template Codim<1>()))
     {}
 
     //! the vertex mapper is the dofMapper