html render fixes