diff --git a/docs/pyerrors/input/hadrons.html b/docs/pyerrors/input/hadrons.html
index 8685670f..ef82a346 100644
--- a/docs/pyerrors/input/hadrons.html
+++ b/docs/pyerrors/input/hadrons.html
@@ -186,7 +186,7 @@
84
85 files, idx = _get_files(path, filestem, idl)
86
- 87 tree = meson.rsplit('_')[0]
+ 87 tree = meson.rsplit('_', 1)[0]
88 if gammas is not None:
89 h5file = h5py.File(path + '/' + files[0], "r")
90 found_meson = None
@@ -703,7 +703,7 @@
85
86 files, idx = _get_files(path, filestem, idl)
87
- 88 tree = meson.rsplit('_')[0]
+ 88 tree = meson.rsplit('_', 1)[0]
89 if gammas is not None:
90 h5file = h5py.File(path + '/' + files[0], "r")
91 found_meson = None