diff --git a/dumux/boxmodels/2pni/2pnivolumevariables.hh b/dumux/boxmodels/2pni/2pnivolumevariables.hh
index eb04350fab0f6a96b5feb9543d89ba6383080d1d..297c6d53b824310f721ed18ec8f41e1227e1629d 100644
--- a/dumux/boxmodels/2pni/2pnivolumevariables.hh
+++ b/dumux/boxmodels/2pni/2pnivolumevariables.hh
@@ -124,7 +124,7 @@ protected:
                        const Problem &problem,
                        const Element &element,
                        const FVElementGeometry &elemGeom,
-                       int vertIdx,
+                       int scvIdx,
                        bool isOldSol)
     {
         // copmute and set the internal energies of the fluid phases