changes to TOC rendering