account balance bug fix