bug fix for index.html