diff --git a/lib/reporter.js b/lib/reporter.js
index <HASH>..<HASH> 100644
--- a/lib/reporter.js
+++ b/lib/reporter.js
@@ -186,8 +186,12 @@ module.exports = class Reporter extends events.EventEmitter {
     }
 
     await this._fnAfterConfigLoaded(this)
-    this.options.tenant = this.options.tenant || {name: ''}
+
+    if (this.options.tempDirectory && !path.isAbsolute(this.options.tempDirectory)) {
+      this.options.tempDirectory = path.join(this.options.rootDirectory, this.options.tempDirectory)
+    }
     this.options.tempDirectory = this.options.tempDirectory || path.join(os.tmpdir(), 'jsreport')
+
     this.options.tempAutoCleanupDirectory = path.join(this.options.tempDirectory, 'autocleanup')
     this.options.tempCoreDirectory = path.join(this.options.tempDirectory, 'core')
     this.options.store = this.options.store || {provider: 'memory'}
support relative tempDirectory in config