Bug fix when balance is zero