Fix problems with  downloading