modify index.index to .html