fix auto_TOC()