Fix for checkout error