fix typo in balance and remove some console logs