fixing complex balance