better zk handling