Fixed bug in Download