bugfix: toc expansion