diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid
index cb209e799..b55d66be7 100644
--- a/core/wiki/macros/toc.tid
+++ b/core/wiki/macros/toc.tid
@@ -62,7 +62,7 @@ The very first toc macro is _not_ reused. So it can be used as a simple referenc
<% elseif [<_mode>match[tocpMode]] %>
<$macrocall $name="_newChild" field=<>/>
- <% elseif [<_mode>match[tagLikeModeXXX]] %>
+ <% elseif [<_mode>match[tagLikeMode]] %>
<$macrocall $name="_newChild" field=<>/>
<% endif %>
<% endif %>