changes to clearing carts