using index.html
bug fix