minor update on template and contents
bug fix on toc for index