added missing th closing tag
removed duplicate code line