improvements to ->html