change structure of html