fix download being reported as failed