fix for toc events