fixing HTML structure