diff --git a/ledger/src/blockstore_db.rs b/ledger/src/blockstore_db.rs
index 9f1534f96..2851e3acb 100644
--- a/ledger/src/blockstore_db.rs
+++ b/ledger/src/blockstore_db.rs
@@ -536,7 +536,7 @@ impl Rocks {
fn write(&self, batch: RWriteBatch) -> Result<()> {
let is_perf_enabled = maybe_enable_rocksdb_perf(
self.column_options.rocks_perf_sample_interval,
- &self.write_batch_perf_status.op_count,
+ &self.write_batch_perf_status,
);
let result = self.db.write(batch);
if is_perf_enabled {
@@ -1302,7 +1302,7 @@ where
pub fn get_bytes(&self, key: C::Index) -> Result