cleanup TOC