finish the cart operate