Fixed display issues.
Fixed encoding issue on toc display.