Fixed a download crash.