apply fix #111 to html element also