simplify html structure