Avril Lavigne has taken a lot of heat for her obscenity-laden rant during a performance on Saturday after a Tampa Bay Rays baseball game, but the singer did apologize later in the show for her language.

The punk rock princess became frustrated with technical problems during her show following the game. As fans reportedly booed, she complained that these sorts of problems "f---ing happen on a baseball field."

Later, though, Lavigne had calmed down and told the crowd, "We just had so much fun tonight and we want to take the tirade out and say thank you to the Tampa Bay Rays! I'm truly sorry if anyone was offended by my language."

The baseball team released a statement after the game reading, in part: "The Rays demand profanity-free performances from all of our concert performers and we are extremely disappointed by the language used in last night's show."

That being the case, it's curious why Lavigne was booked in the first place, given that she uses profanity in many of her hit songs, including 'Girlfriend' and 'Smile.' Clips from the concert posted on YouTube show that she sang the original lyrics, unedited.

Watch Avril Lavigne Apologize for Her Language at the Tampa Bay Rays Game