Fixing <tr> tags unclosed