US stock indexes finished Tuesday close to where they started as technology companies and household goods makers rose.
But weak reports from sporting goods and auto parts retailers left a lot of smaller companies with steep losses.
Dick's Sporting Goods and Advance Auto Parts both disclosed disappointing second-quarter results and cut their annual forecasts, which affected a slew of other companies.
Other retailers also dropped, including Home Depot, which posted strong results. Other groups of stocks managed modest gains.
The Standard & Poor's 500 index lost 1.23 points, or less than 0.1%, to 2,464.61. The Dow Jones industrial average picked up 5.28 points to 21,998.99.
Nasdaq composite fell 7.22 points, or 0.1%, to 6,333.01. The Russell 2000 index of smaller-company stocks shed 11.07 points, or 0.8%, to 1,383.24. The S&P 600, an index of small-cap stocks, plunged 1%.
Stocks were coming off their biggest one-day gain in more than three months as the market recovered from last week's turmoil.
Dick's Sporting Goods cut its annual forecast after a weak second quarter. The sporting goods chain said athletic apparel sales were weak and that it plans to do more marketing and cut prices as it tries to keep its market share. Its stock plunged 8.04 dollars, or 23%, to 26.87 dollars.
Foot Locker fell 2.19 dollars, or 4.4%, to 47.13 dollars and Hibbett Sports dropped 2.30 dollars, or 16.5%, to 11.65 dollars. Athletic apparel companies also lost ground. Nike shed 1.22 dollars, or 2%, to 58.56 dollars and Under Armour lost 45 cents, or 2.6%, to 16.66 dollars.
Advance Auto Parts tumbled after it slashed its annual forecasts. The company and its competitors are facing weakening demand because car sales are slowing down from their recent record pace.
Meanwhile competition from online retailers is growing. Advance Auto Parts dropped 22.24 dollars, or 20.3%, to 87.08 dollars.
Retailers of all kinds were trading lower even though the Commerce Department said consumers did far more shopping in July, as retail sales grew by the biggest amount this year. Those sales have not been great in 2017.
The dollar rose to 110.58 yen from 109.63 yen. The euro fell to 1.1734 dollars from 1.1782 dollars.
France's CAC 40 was up 0.4% and the German DAX rose 0.1%. Britain's FTSE 100 was 0.4% higher. In Japan the benchmark Nikkei 225 gained 1.1% and Hong Kong's Hang Seng slipped 0.3%. Markets in South Korea were closed for a national holiday.