change index to html