Bug fix: the amount to pay is equal to the debt amount