diff --git a/src/finiteVolume/fields/fvPatchFields/derived/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C
index 2dde78acc0e2fe6a1b293ff1ad2730c12457ced9..716c5b12355da55d364cf67daaf22df42dc24c7d 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C
+++ b/src/finiteVolume/fields/fvPatchFields/derived/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C
@@ -66,16 +66,16 @@ directMappedVelocityFluxFixedValueFvPatchField
         FatalErrorIn
         (
             "directMappedVelocityFluxFixedValueFvPatchField::"
-            "directMappedVelocityFluxFixedValueFvPatchField\n"
-            "(\n"
-            "    const directMappedVelocityFluxFixedValueFvPatchField&,\n"
-            "    const fvPatch&,\n"
-            "    const DimensionedField<vector, volMesh>&,\n"
-            "    const fvPatchFieldMapper&\n"
-            ")\n"
-        )   << "\n    patch type '" << p.type()
+            "directMappedVelocityFluxFixedValueFvPatchField"
+            "("
+                "const directMappedVelocityFluxFixedValueFvPatchField&, "
+                "const fvPatch&, "
+                "const DimensionedField<vector, volMesh>&, "
+                "const fvPatchFieldMapper&"
+            ")"
+        )   << "Patch type '" << p.type()
             << "' not type '" << directMappedPatchBase::typeName << "'"
-            << "\n    for patch " << p.name()
+            << " for patch " << p.name()
             << " of field " << dimensionedInternalField().name()
             << " in file " << dimensionedInternalField().objectPath()
             << exit(FatalError);
@@ -102,10 +102,10 @@ directMappedVelocityFluxFixedValueFvPatchField
             "directMappedVelocityFluxFixedValueFvPatchField"
             "("
                 "const fvPatch&, "
-                "const DimensionedField<vector, volMesh>& iF, "
+                "const DimensionedField<vector, volMesh>&, "
                 "const dictionary&"
             ")"
-        )   << "patch type '" << p.type()
+        )   << "Patch type '" << p.type()
             << "' not type '" << directMappedPatchBase::typeName << "'"
             << " for patch " << p.name()
             << " of field " << dimensionedInternalField().name()
@@ -191,8 +191,8 @@ void directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs()
 
                 forAll(Upf, faceI)
                 {
-                    allUValues[faceStart++] = Upf[faceI];
-                    allPhiValues[faceStart] = phipf[faceI];
+                    allUValues[faceStart + faceI] = Upf[faceI];
+                    allPhiValues[faceStart + faceI] = phipf[faceI];
                 }
             }
 
@@ -205,7 +205,7 @@ void directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs()
                 distMap.constructMap(),
                 allUValues
             );
-            newUValues = patch().patchSlice(newUValues);
+            newUValues = patch().patchSlice(allUValues);
 
             mapDistribute::distribute
             (
@@ -214,9 +214,9 @@ void directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs()
                 distMap.constructSize(),
                 distMap.subMap(),
                 distMap.constructMap(),
-                newPhiValues
+                allPhiValues
             );
-            newPhiValues = patch().patchSlice(newPhiValues);
+            newPhiValues = patch().patchSlice(allPhiValues);
 
             break;
         }
@@ -257,9 +257,10 @@ void directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs()
         {
             FatalErrorIn
             (
-                "directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs()"
-            )<< "patch can only be used in NEARESTPATCHFACE or NEARESTFACE "
-             << "mode" << nl << abort(FatalError);
+                "directMappedVelocityFluxFixedValueFvPatchField::"
+                "updateCoeffs()"
+            )   << "patch can only be used in NEARESTPATCHFACE or NEARESTFACE "
+                << "mode" << nl << abort(FatalError);
         }
     }