some changes to display valid html