fix the html render error