fixed setPayment regression