Generate index.html to fix mistakes