Avoiding residual balances