diff --git a/libkc3/env.c b/libkc3/env.c
index f6b9374..981df98 100644
--- a/libkc3/env.c
+++ b/libkc3/env.c
@@ -2078,6 +2078,7 @@ s_tag * env_facts_collect_with_tags (s_env *env, s_facts *facts,
fact_w_clean(fact_w);
goto clean;
}
+ l = &(*l)->next.data.list;
}
ok:
list_delete_all(arguments);