fixed some issues with TOC format + urls