Stocks pull back slightly after hitting record