Stocks were mixed on Wednesday after Donald Trump's firing of FBI Director James Comey wrapped the White House in another controversy, worrying investors holding out for progress on Trump's business-friendly agenda. 

The S&P 500 was up 0.05%, the Dow Jones Industrial Average fell 0.17%, and the Nasdaq added 0.09%.

"I think the biggest issue is what this does to the Trump agenda in taxes," said Matthew Peterson, chief wealth strategist for LPL Financial. "The market really is expecting a cut. We still feel it's a matter of when, not if a cut happens. But any thought this gets pushed to '18 is a market negative."

The White House pointed to Comey's handling of the investigation into former Democratic presidential candidate Hillary Clinton's private email server as reason for the firing. However, Trump frequently praised Comey's decision to go public with details of the investigation on the campaign trail. 

"The president has accepted the recommendation of the attorney general and the deputy attorney general regarding the dismissal of the director of the Federal Bureau of Investigation," White House spokesman Sean Spicer told reporters in a briefing.

The FBI notified Congress earlier Tuesday that during a Capitol Hill hearing last week, Comey had misstated key findings from the agency's probe into Clinton's email server. Comey had said that "hundreds and thousands" of Clinton's emails from her time as U.S. secretary of state had been forwarded to disgraced former New York Congressman Anthony Weiner from his wife, former Clinton aide Huma Abedin. But the FBI said Tuesday that only a "small number'" actually went to Weiner.
 
Comey was leading an investigation into Russian meddling in the 2016 election and potential ties between Russia and the Trump campaign. Senate Minority Leader Chuck Schumer called upon Deputy Attorney General Rod Rosenstein, who is currently in charge of the investigation into Russian connections, to hand off the case to a special prosecutor.

"Every American will rightly suspect that the decision to fire Director Comey was part of a cover-up" unless an independent investigation takes place, Schumer told reporters on Tuesday evening. 

Senate Majority Leader Mitch McConnell dismissed the need for a special prosecutor on Wednesday. McConnell said that a new investigation would "only serve to impede the current work being done." Vice President Mike Pence said Wednesday that Comey's firing and the Russian probe were not related. 

Disney (DIS)  was the worst performer on the Dow after beating profit estimates, but falling short of revenue forecasts. The world's largest entertainment company earned $1.50 a share, 9 cents above expectations. Sales increased 2.9% to $13.34 billion, coming in $110 million below consensus. The stock fell 2.7%.

Sales and operating income at Disney's cable-TV group, which includes ESPN and the Disney Channel, fell 3%, as ratings slipped and a new multi-year contract priced at more than $600 million began with the National Basketball Association. Advertising at ESPN fell 1% in the quarter.

Disney's parks have become the most stable part of the company's many businesses, and over the next two years CEO Bob Iger said they should account for as much as two-thirds of earnings growth as new resorts open in Tokyo, Paris and Shanghai. The parks and resorts unit group posted a 20% growth in operating income on a 9% jump in sales.

The Nasdaq closed at a record for the third session in a row on Tuesday as volatility held at its lowest level in more than two decades. The tech-heavy index has closed at records 30 times so far this year. Volatility held at its lowest level in more than two decades on Tuesday. The Volatility Index, often referred to as the fear index, was trading at 9.84, its lowest since late 1993.

Jim Cramer laid out the powerful themes driving this bull market over on our premium site Real Money. Get his insights with a free trial subscription to Real Money.

If you liked this article you might like

7 Essential Rules for Investing in Tech Stocks

GrubHub Is Remarkable, So It's Crazy How Many Have People Have Bet Against It

History May Be Prologue on Snap-Like IPOs

Fantasy Football and Picking Stocks: Cramer's 'Mad Money' Recap (Tues 8/15/17)