diff --git a/dune/tectonic/globalratestatefriction.hh b/dune/tectonic/globalratestatefriction.hh
index 8a00d350ab175b0a1110998857ecb92c8b3b0e17..1e7e83445717119afaf860be3797ae8c1c279d43 100644
--- a/dune/tectonic/globalratestatefriction.hh
+++ b/dune/tectonic/globalratestatefriction.hh
@@ -37,7 +37,7 @@ class GlobalRateStateFriction : public GlobalFriction<Matrix, Vector> {
         GridView, Dune::MCMGVertexLayout> const vertexMapper(gridView);
     for (auto it = gridView.template begin<block_size>();
          it != gridView.template end<block_size>(); ++it) {
-      auto const i = vertexMapper.map(*it);
+      auto const i = vertexMapper.index(*it);
       auto const coordinate = it->geometry().corner(0);
       if (not frictionalBoundary.containsVertex(i)) {
         restrictions[i] = trivialNonlinearity;
diff --git a/src/sand-wedge.cc b/src/sand-wedge.cc
index 042ad38410ec4283d29dab6152947b0056a5934a..323e86d5dfe577f6d62be3878fe88b352cbe1add 100644
--- a/src/sand-wedge.cc
+++ b/src/sand-wedge.cc
@@ -297,7 +297,7 @@ int main(int argc, char *argv[]) {
       for (auto it = leafView.begin<dims>(); it != leafView.end<dims>(); ++it) {
         auto const geometry = it->geometry();
         assert(geometry.corners() == 1);
-        vertexCoordinates[vertexMapper.map(*it)] = geometry.corner(0);
+        vertexCoordinates[vertexMapper.index(*it)] = geometry.corner(0);
       }
     }