diff --git a/index.html b/index.html
index fae4f700..7071f303 100644
--- a/index.html
+++ b/index.html
@@ -4328,7 +4328,7 @@
-
+
@@ -6140,7 +6140,7 @@
-
+
diff --git a/modules/ui/provinces-editor.js b/modules/ui/provinces-editor.js
index 269ff25a..3cac626f 100644
--- a/modules/ui/provinces-editor.js
+++ b/modules/ui/provinces-editor.js
@@ -118,7 +118,8 @@ function editProvinces() {
totalPopulation = 0;
for (const p of filtered) {
- totalArea += getArea(p.area);
+ const area = getArea(p.area);
+ totalArea += area;
const rural = p.rural * populationRate;
const urban = p.urban * populationRate * urbanization;
const population = rn(rural + urban);
diff --git a/versioning.js b/versioning.js
index bc71f893..8ab97f9c 100644
--- a/versioning.js
+++ b/versioning.js
@@ -1,7 +1,7 @@
"use strict";
// version and caching control
-const version = "1.82.02"; // generator version, update each time
+const version = "1.82.03"; // generator version, update each time
{
document.title += " v" + version;