Merge branch 'fluo-835'
diff --git a/modules/core/src/main/java/org/apache/fluo/core/oracle/OracleClient.java b/modules/core/src/main/java/org/apache/fluo/core/oracle/OracleClient.java
index 66a0c9e..d8eaed4 100644
--- a/modules/core/src/main/java/org/apache/fluo/core/oracle/OracleClient.java
+++ b/modules/core/src/main/java/org/apache/fluo/core/oracle/OracleClient.java
@@ -111,13 +111,13 @@
             Thread.sleep(200);
           }
 
+          leaderSelector = new LeaderSelector(curatorFramework, ZookeeperPath.ORACLE_SERVER, this);
+
           pathChildrenCache =
               new PathChildrenCache(curatorFramework, ZookeeperPath.ORACLE_SERVER, true);
           pathChildrenCache.getListenable().addListener(this);
           pathChildrenCache.start();
 
-          leaderSelector = new LeaderSelector(curatorFramework, ZookeeperPath.ORACLE_SERVER, this);
-
           connect();
         }
         doWork();
diff --git a/pom.xml b/pom.xml
index 9c0a694..f0ad6d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,10 +43,10 @@
     <module>modules/mini</module>
   </modules>
   <scm>
-    <connection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-fluo.git</connection>
-    <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-fluo.git</developerConnection>
+    <connection>scm:git:https://gitbox.apache.org/repos/asf/incubator-fluo.git</connection>
+    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/incubator-fluo.git</developerConnection>
     <tag>HEAD</tag>
-    <url>https://git-wip-us.apache.org/repos/asf?p=incubator-fluo.git</url>
+    <url>https://gitbox.apache.org/repos/asf?p=incubator-fluo.git</url>
   </scm>
   <issueManagement>
     <system>GitHub</system>