fixed toc/index id bug