Fix HTML structure