fix more cart edit bugs