fix download bug.