small modification to html rednering