init temp directory after configuration checking