simplify html struct