diff --git a/nanoplot/NanoPlot.py b/nanoplot/NanoPlot.py
index <HASH>..<HASH> 100755
--- a/nanoplot/NanoPlot.py
+++ b/nanoplot/NanoPlot.py
@@ -76,6 +76,7 @@ def main():
                 plots.extend(
                     make_plots(dfbarc, settings)
                 )
+            settings["path"] = path.join(args.outdir, args.prefix)
         else:
             plots = make_plots(datadf, settings)
         make_report(plots, settings["path"], logfile)
reset path after processing all barcodes