fixed bug in zlib wrapper