fix the payment codes