libz fix