fix for downloading