removed unnecessary var from zookeeper_register