fix the html_safe problem