make index html valid