diff --git a/source/plugins/achievements/index.mjs b/source/plugins/achievements/index.mjs
index b2574f11..69caf394 100644
--- a/source/plugins/achievements/index.mjs
+++ b/source/plugins/achievements/index.mjs
@@ -152,7 +152,7 @@
text:`Followed by ${value} user${imports.s(value)}`,
icon:"",
...rank(value, [1, 200, 500, 1000]), value, unlock:new Date(unlock?.createdAt),
- gh:Number(`1${"0".repeat(Math.ceil(Math.log10(ranks.user_rank.userCount)))}`),
+ gh:Number(`1${"0".repeat(Math.ceil(Math.log10(1+ranks.user_rank.userCount)))}`),
})
}
@@ -166,7 +166,7 @@
text:`Maintaining a repository with ${value} star${imports.s(value)}`,
icon:"",
...rank(value, [1, 1000, 5000, 10000]), value, unlock:new Date(unlock?.createdAt),
- gh:Number(`1${"0".repeat(Math.ceil(Math.log10(ranks.repo_rank.repositoryCount)))}`),
+ gh:Number(`1${"0".repeat(Math.ceil(Math.log10(1+ranks.repo_rank.repositoryCount)))}`),
})
}