fix zlib exception & list.reverse