In merge method, fixes output of index.html.