fix 1st download wrong folder & closingPrevention