Fix corrupted zip bug