fix issue with cart processing