diff --git a/node_modules/hypercore-storage/migrations/0/index.js b/node_modules/hypercore-storage/migrations/0/index.js
index d2f8f8b..8582bd4 100644
--- a/node_modules/hypercore-storage/migrations/0/index.js
+++ b/node_modules/hypercore-storage/migrations/0/index.js
@@ -129,8 +129,8 @@ async function store (storage, { version, dryRun = true, gc = true }) {
const core = {
version: 0, // need later migration
- corePointer: head.allocated.cores++,
- dataPointer: head.allocated.datas++,
+ corePointer: head.cores++,
+ dataPointer: head.datas++,
alias: null
}