Fix index not rendering HTML