correction of hetml structure