fix bug and add zookeeper client