Carrie Ann Inaba almost had a misstep during her return to Dancing With the Stars .

One week after missing the season 34 premiere of the ABC competition series, the judge narrowly avoided a wardrobe malfunction while praising contestant Whitney Leavitt and her partner Mark Ballas ’ cha-cha to Wild Cherry ’s song “Play That Funky Music.”

“Last week you just lit up this ballroom, you just set this competition on fire,” Carrie Ann told the Secret Lives of Mormon Wives star during the Sept. 23 episode. “And this week, you have done the same.”

Then, while telling Whitney she was “like an engine,” the 57-year-old, who donned a low-cut silver dress, stood up and twirled her head while making engine noises. The movement caused her dress to slide over

See Full Page