fixed convert to html entities