fix history total balance to accumulate properly