fix zookeeper compatible