Fix error in checkout