diff --git a/docs/pyerrors/input/hadrons.html b/docs/pyerrors/input/hadrons.html
index 4aada3f1..41d994f9 100644
--- a/docs/pyerrors/input/hadrons.html
+++ b/docs/pyerrors/input/hadrons.html
@@ -193,7 +193,7 @@
88
89 path_obj = Path(filestem)
90 path = path_obj.parent.as_posix()
- 91 filestem = path_obj.stem
+ 91 filestem = path_obj.name
92
93 files, idx = _get_files(path, filestem, idl)
94
@@ -767,7 +767,7 @@
89
90 path_obj = Path(filestem)
91 path = path_obj.parent.as_posix()
- 92 filestem = path_obj.stem
+ 92 filestem = path_obj.name
93
94 files, idx = _get_files(path, filestem, idl)
95