make toc action work for online controller