Stocks extend gains, but a correction may be looming