xz fix
all fixes and mistake