diff --git a/h2o-core/src/main/java/water/init/NetworkInit.java b/h2o-core/src/main/java/water/init/NetworkInit.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/init/NetworkInit.java
+++ b/h2o-core/src/main/java/water/init/NetworkInit.java
@@ -518,8 +518,8 @@ public class NetworkInit {
       bb.mark();
       for( H2ONode h2o : nodes ) {
         try {
+          bb.reset();
           if(H2O.ARGS.useUDP) {
-            bb.reset();
             CLOUD_DGRAM.send(bb, h2o._key);
           } else {
             h2o.sendMessage(bb,priority);
[PUBDEV-<I>] Flatfile mode fix

After discussion with Tomas we fixed flatfile mode which was failing in Sparkling Water.