fix extra ledger lines