Fix base.download issue