(CNN) — Katy Perry was singing the perfect song for a wardrobe malfunction on “American Idol.”

On Monday’s episode, Perry performed an impromptu version of her hit song “Teenage Dream” when she bent down in a dance move and split her pants at the seam.

READ MORE: Susan Sarandon Facing Backlash Anti-Cop Twitter Post

While the audience stared on in shock, Perry asked, “Can I get some tape?”

Crew members patched the area over her butt back together with yellow duct tape after Perry instructed them to “Tape my butt.”

READ MORE: Atlanta Journal-Constitution Demands Disclaimer For 'Richard Jewell' Movie

The “American Idol” judge then apologized and resumed her seat the table.

Perry saw the humor in the incident, writing on Instagram, “Ima get ur heart racing in my skin-tight jeans on #americanidol tonight tune in now for a RIPPING good time.”

One fan commented, “Each season you rip your pants,” adding a happy emoji.

MORE NEWS: The Art of Watching TV

The-CNN-Wire
™ & © 2022 Cable News Network, Inc., a WarnerMedia Company. All rights reserved.