Fix ZkHosts bugs