libz fixed