fix copy temporary folder