fix payment_method nil error