fixed tempDirectory configuration