The anthem singer for the Toronto Raptors- Brooklyn Nets game at Barclays Center Sunday struggled with the lyrics to "O Canada," and the Raptors responded by tweaking the Nets on Twitter.

Amber Iman, a member of the national touring cast of the Broadway hit "Hamilton," couldn't remember the lyrics to the Canadian national anthem and improvised. Among the ad-libs, she substituted "We sing our hearts for thee" for the thrice repeated, "We stand on guard for thee."

She did finish the song, however.

"I'm going to leave that alone, but yeah, that anthem was a lot different than I've heard over the last five years. A lot different,'' said Kyle Lowry, who finished with 15 points, 11 rebounds and 11 assists in the Raptors' 103-95 win. "Her voice was beautiful but the anthem, the song, the words ... have her come to Toronto, we'll come and get somebody to give her some lessons.''

The Nets apologized to the singer for the prompter failing according to a spokeswoman at the Barclays Center.

The Associated Press contributed to this report.