fixed temp folder bug