fix errors
refactoring index.html