revised the index bc error in html tag