fixed code error in index.html