Fix end of doanload