fix download fail bug