fixed zlib deflate middle