Fixed a crash, but the downloading works