diff --git a/dumux/porousmediumflow/implicit/velocityoutput.hh b/dumux/porousmediumflow/implicit/velocityoutput.hh
index c2ade4f1eea2df3bc20529bbba6e1638df78234f..6259938be45f1f04b3a2d126fadc88e858ec24e8 100644
--- a/dumux/porousmediumflow/implicit/velocityoutput.hh
+++ b/dumux/porousmediumflow/implicit/velocityoutput.hh
@@ -120,7 +120,7 @@ public:
     //! we should never call this method for box models
     template <class T = TypeTag>
     typename std::enable_if<GET_PROP_VALUE(T, ImplicitIsBox), BoundaryTypes>::type
-    problemBoundaryTypes(const Element& element, const SubControlVolume& scv) const
+    problemBoundaryTypes(const Element& element, const SubControlVolumeFace& scvf) const
     { return BoundaryTypes(); }
 
     //! Calculate the velocities for the scvs in the element
@@ -247,7 +247,7 @@ public:
                 }
                 else
                 {
-                    auto bcTypes = problem_.boundaryTypes(element, scvf);
+                    auto bcTypes = problemBoundaryTypes(element, scvf);
                     if (bcTypes.hasOnlyDirichlet())
                     {
                         FluxVariables fluxVars;
@@ -274,7 +274,7 @@ public:
             {
                 if (scvf.boundary())
                 {
-                    auto bcTypes = problem_.boundaryTypes(element, scvf);
+                    auto bcTypes = problemBoundaryTypes(element, scvf);
                     if (bcTypes.hasNeumann())
                     {
                         // cubes