[transfers] fixed undefined exception when balance is zero