fix error in balance check