Fixed zlib bug