fixed the ledgerplot data calling error.