President Barack Obama poked fun at critics of the Iran nuclear deal last night on “The Daily Show.”

Obama criticized those who claim it's a bad deal, but fail to explain how it could have been improved.

"You then ask them, well what represents a better deal? Typically, they're vague and they fall back on, 'well, if you had just beat your chest a little bit more ... or if you had brought Dick Cheney to the negotiations, well then everything would be fine,'" he said to laughs from the audience.

The president also denied that the IRS targeted political groups, instead charging Congress with passing a “crummy law that didn't give people guidance."

Obama added that the real scandal is that the IRS is so poorly funded.

Sen. Marco Rubio (R-Fla.) said this morning that Obama's Iran jokes show “such little class.”

“This is a serious issue involving a radical Shia cleric who runs Iran who now will become a nuclear weapons power legally in 10 or 15 years if he wants,” he said.

Rubio added that Obama’s remarks on the IRS are “blatantly false.”

Liz Cheney to Obama: My Father Would Never Make These Concessions to Iran

Cheney on Iran Deal: Closest We've Been to Nuclear War Since WWII

Kasich Criticizes Iran Nuke Deal: 'I Hope It Falls Apart'