bug fix/new feature for index.html