more work on toc
fix broken refs