diff --git a/pyproject.toml b/pyproject.toml
index 0114464397358bd8a30dae53fec4172546d5caf6..5ac732738b07506d0de77a415f8c23d8b903f886 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
 
 [project]
 name = "raman_master"
-version = "0.1.5"
+version = "0.1.6"
 description = "Package for training models that predict process parameter of 2Mag fermentations from Raman spectra."
 readme = "README.rst"
 license = {file = "LICENSE"}
diff --git a/raman_master/cli.py b/raman_master/cli.py
index 2cbfbc0f0b158d5ac19f1a2353e05f4cdc0e839c..693a42009918b6c0dfce03d426b228c2067f4fdf 100644
--- a/raman_master/cli.py
+++ b/raman_master/cli.py
@@ -210,6 +210,8 @@ def hp_tuning_bohb(
         reporting_interval,
 ):
 
+    ray.init(_temp_dir=results_dir)
+
     click.echo('Start Hyper Parameter Tuning for a Raman Model')
     click.echo("num cpus: %s" % num_cpus)