patch downloadDir