fix htmlElement