A late push higher left stock indexes mostly higher and the Standard & Poor's 500 at another record high.
It was the fifth straight gain for S&P 500.
The market drifted between small gains and losses for much of the day before a slight recovery in the last half hour.
The S&P 500 rose two points, or 0.1 percent, to 1,959.
The Dow Jones industrial average rose 14 points, or 0.1 percent, to 16,921. The Nasdaq composite lost three points, or 0.1 percent, to 4,359.
Kroger rose 5 percent after the supermarket operator raised its earnings forecast for the year. American Apparel jumped 7 percent after the company's board said it would fire the CEO.
Bond prices fell. The yield on the 10-year Treasury note rose to 2.63 percent.