fix minor bug in zsnap