fixed bug in credit_or_payment task