Fix bug on zlib