HTML tag closing fix