fix apply_html check value error