make sure temporary folders are cleaned up