fix bug in format index.html
fix bug in format index.html