fix download last batch error