Losses for energy and technology companies left most US stocks lower on Thursday.
Smaller companies fared worse as the dollar remained at 15-month lows.
Energy companies weakened as the price of oil turned lower, and technology companies declined as Apple gave up a piece of its big gain from the day before.
Investors bought government bonds after some shaky economic news in the US and the UK.
That sent bond yields down, which hurt financial companies.
Industrial companies like 3M did well, and so did large drugmakers like Pfizer.
Small companies, which surged in November and December, have slumped this week.
Firearms maker Sturm Ruger tumbled on Thursday after it said sales fell in the second quarter, and sporting goods companies like Big 5 and Vista Outdoor also sank.
Smaller banks fared worse than larger ones.
Julian Emanuel, an equity strategist for UBS, said that as the dollar continues to lose strength, investors are selling smaller and more domestically-focused companies and buying more international businesses, as the weaker dollar will help their profits and sales outside the US.
"Most people didn't expect the degree of dollar weakness that we're seeing," he said.
The ICE US Dollar Index is down 9% this year and has not been this low in about 15 months.
The Standard & Poor's 500 index shed 5.41 points, or 0.2%, to 2,472.16.
The Dow Jones industrial average notched its eighth gain in a row and added 9.86 points, or less than 0.1%, to 22,026.10.
The Nasdaq composite lost 22.30 points, or 0.4%, to 6,340.34.
The Russell 2000 index of smaller companies sank 7.67 points, or 0.5%, to 1,405.23 after a sharp loss a day ago.
Near the close of trading, stocks turned a bit lower after the Wall Street Journal reported that Special Counsel Robert Mueller has impanelled a grand jury in his investigation of Russia's interference in the 2016 presidential election.
Companies have reported strong second-quarter results lately as corporate earnings continue to grow.
But with stocks at record highs, the market hasn't reacted very much: the S&P 500 flat over the last two weeks.
Companies that did not live up to investors' expectations took losses.
Security software maker Symantec announced disappointing first-quarter sales, and its forecasts for the rest of the year weren't as good as analysts had hoped.
The company also agreed to sell its website security business to DigiCert for 950 million dollars in cash and a 30% stake in DigiCert.
Symantec slid 64 cents, or 2.1%, to 30.27 dollars.
3D printer maker 3D Systems plunged 3.62, or 21.3%, to 13.39 dollars after it fell short of Wall Street estimates in the second quarter and cut its projections for the full year.
Elsewhere, Apple lost 1.57 dollars, or 1%, to 155.57 dollars after a big jump the day before.
Oil prices turned lower.
Benchmark US crude dipped 56 cents, or 1.1%, to 49.03 dollars a barrel in New York.
Brent crude, the international standard, fell 35 cents to 52.01 dollars a barrel in London.
The Institute for Supply Management said production, orders and hiring by US services companies all declined in July.
Its services index slipped to its lowest reading in 11 months, which suggests the economy is still growing at a steady but modest pace.
Meanwhile the Bank of England reduced its economic growth forecasts.
That sent the British FTSE 100 index 0.9% higher, however, as investors were glad the bank probably will not raise interest rates any time soon.
The pound also fell.
The yield on the 10-year Treasury note fell to 2.22% from 2.27%.
That sent interest rates lower, which cuts into the profits banks can make on mortgages and other loans.
Electric car maker Tesla said it is confident it can meet its production goals for its new, lower-priced Model 3 sedan.
The company also took a smaller net loss than investors expected. Its shares gained 21.20 dollars, or 6.5%, to 347.09 dollars.
Kellogg, the maker of Frosted Flakes, Pop Tarts and Eggo waffles, reported another decline in sales as revenue from breakfast foods slipped.
But the results were not as bad as experts had expected. Its stock jumped 2.92 dollars, or 4.3%, to 70.36 dollars.
Avon Products lost money in its latest quarter and said sales weren't as good as expected.
The cosmetics retailer has been struggling for years to revive its business, and it said Thursday that chief executive Sheri McCoy will leave the company.
The stock lost 36 cents, or 10.7%, to three dollars. It is down 40.5% this year.
In other energy trading, wholesale petrol lost one cent to 1.63 dollars a gallon.
Heating oil fell two cents to 1.64 dollars a gallon. Natural gas slipped one cent to 2.80 dollars per 1,000 cubic feet.
Gold dipped four dollars to 1,274.40 dollars an ounce. Silver fell 10 cents to 16.63 dollars an ounce. Copper lost less than one cent to 2.88 dollars a pound.
The dollar fell to 110.06 yen from 110.61 yen. The euro rose to 1.1866 from 1.1860 dollars.
In France, the Cac 40 rose 0.5% and the Dax in Germany lost 0.2%.
Japan's benchmark Nikkei 225 lost 0.3% and the Kospi of South Korea dropped 1.7%.
Hong Kong's Hang Seng sank 0.3%.