bugfixes to fetching zk tarball