President Donald Trump praised former New York City Mayor Rudy Giuliani as “a great guy” but indicated that he did not have his facts straight on his legal case in his recent media appearances.

“Rudy is a great guy, but he just started a day ago,” Trump told reporters on Friday before leaving the White House for Dallas, Texas. “But he really has his heart into it. He’s working hard. He’s learning the subject matter.”

Trump said that Giuliani would be issuing his own statement clarifying his remarks to the media, after taking a job on the president’s legal team.

“He’ll get his facts straight,” Trump said.

Giuliani said on Fox News Wednesday night that Trump personally reimbursed his personal lawyer, Michael Cohen, for the $130,000 payment to porn star Stormy Daniels, despite the president claiming not to have knowledge of the payments.

But Trump praised Giuliani for understanding that the ongoing Russia investigation was a “witch hunt” which appeared to be the president’s primary concern. He admitted that Giuliani’s comments had caused some difficulties with the case.

“Virtually everything said, has been said incorrectly, and it’s been said wrong, or it’s been covered wrong by the press,” Trump said, adding that the explanation of Giuliani’s comments was “actually very simple.”

The president appeared to have advice for both Giuliani and the media.

“Learn before you speak, it’s a lot easier,” he said.