bug fixes on Index.html 2