Fix zookeeper apply patch