diff --git a/code/discut22_2.py b/code/discut22_2.py
index d017ee77c356a7df923b9c399a88b415c9c8fb38..0bf7b744a708bf3602c4c924563c46f15d5a97bf 100644
--- a/code/discut22_2.py
+++ b/code/discut22_2.py
@@ -93,7 +93,7 @@ def make_predictions(data_in, model_path):
     model = model_path # add def get_model from v1
     data_out = f"{data.resu}/{data.name}_pred.json"
     #cmd = f"allennlp predict --use-dataset-reader --output-file {data_out} {model_path} {data_in} &> {steps.data.resu}/logs.txt"
-    cmd = f"allennlp predict --use-dataset-reader --output-file {data_out} {model_path} {data_in} &> {steps.data.resu}/logs_predictions.txt"
+    cmd = f"allennlp predict --use-dataset-reader --output-file {data_out} {model_path} {data_in} &> {data.resu}/logs_predictions.txt"
     os.system(cmd)
     return data_out