fix output bug
add support for zlib (crc32, adler32)