diff --git a/dumux/io/interfacemeshcreator.hh b/dumux/io/interfacemeshcreator.hh
index 6d0edf1df21dd975baf86506f2beceeaa1d20908..1cc9a4270d15d64ce8b5d4107fa7b29088f034ab 100644
--- a/dumux/io/interfacemeshcreator.hh
+++ b/dumux/io/interfacemeshcreator.hh
@@ -14,7 +14,6 @@ public:
     enum {dim = Grid::dimension};
     typedef typename Grid::ctype Scalar;
     typedef typename Grid::LeafGridView GridView;
-    typedef typename GridView::template Codim<0>::Iterator ElementIterator;
     typedef typename GridView::Traits::template Codim<0>::Entity Element;
     typedef typename Element::Geometry Geometry;
 
diff --git a/dumux/io/plotoverline2d.hh b/dumux/io/plotoverline2d.hh
index 11383904d8d4cb9cbd137981664dc3066569fc3d..cff60030a5c0bf5d5a1912ff28ea381c3fb1d691 100644
--- a/dumux/io/plotoverline2d.hh
+++ b/dumux/io/plotoverline2d.hh
@@ -41,7 +41,6 @@ class PlotOverLine2D
     typedef typename GET_PROP_TYPE(TypeTag, Scalar)               Scalar;
     typedef typename GET_PROP_TYPE(TypeTag, Problem)              Problem;
     typedef typename GET_PROP_TYPE(TypeTag, GridView)             GridView;
-    typedef typename GridView::template Codim<0>::Entity          Element;
     typedef typename GridView::template Codim<0>::Iterator        ElementIterator;
 
     typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry)    FVElementGeometry;