fix bug

fix download task bug
fix bug

getrandom is not pop,use removeRandom