htmlelement fix