fixed toc paths to pages