modify an earlier fix so that the TOC comes out better