RALEIGH, N.C. (AP) — North Carolina Republicans have apologized to Democratic vice presidential nominee Tim Kaine for mistakenly critiquing him for wearing a foreign flag during his acceptance speech.

The state GOP sent out a tweet Wednesday night saying it was “shameful” for Kaine to wear the flag of Honduras during his speech at the Democratic National Convention.

Kaine spent a year in Honduras as a missionary. But Ben Amey, a reporter for WNYT-TV in Albany, New York, pointed out on Twitter that Kaine’s pin was actually the symbol for families with a member serving in the military.

Kaine’s son, a Marine, is currently deployed.

Amey posted a screen grab of the party’s original tweet, which the GOP has since deleted. Also on Twitter, the party thanked Amey for “letting us correct our mistake.”