It wasn’t Rick Perry-bad, but Republican presidential candidate [crscore]Ted Cruz[/crscore] misspoke during Tuesday’s debate when listing the federal agencies he would do away with.

Discussing the five agencies and departments he would gut during the Fox Business-sponsored debate in Milwaukee, Cruz accidentally listed the Department of Commerce twice.

“Five major agencies that I would eliminate,” Cruz said, “the IRS, the Department of Commerce, the Department of Energy, the Department of Commerce and HUD and, then 25 specific programs again, that is on our website at TedCruz.org.”

On his website, Cruz lists the Department of Education as one of the five agencies he would abolish.

The debate mess reminded observers of former Texas Gov. Rick Perry’s infamous struggle during a 2011 debate to name the three agencies he wanted to do away with.

“The third agency of government I would, I would do away with, the Education, the… Commerce and, let’s see,” Perry said, before adding: “I can’t. The third one, I can’t. Sorry. Oops.”

Follow Alex on Twitter