remove the temp folder at the end