HTML rendering fix