--- ../../../rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C	2011-11-25 03:59:50.000000000 +1100
+++ maxwellSlipUFvPatchVectorField.C	2012-10-04 22:30:46.318141418 +1000
@@ -194,11 +194,9 @@
     os.writeKeyword("thermalCreep")
         << thermalCreep_ << token::END_STATEMENT << nl;
     os.writeKeyword("curvature") << curvature_ << token::END_STATEMENT << nl;
-
-    os.writeKeyword("refValue")
-        << refValue() << token::END_STATEMENT << nl;
-    os.writeKeyword("valueFraction")
-        << valueFraction() << token::END_STATEMENT << nl;
+   
+    refValue().writeEntry("refValue", os);
+    valueFraction().writeEntry("valueFraction", os);
 
     writeEntry("value", os);
 }
