fix downloadDir, downloadUrl