Remove usless stuff from TOC file