diff --git a/src/data/backwardsCompatibility/datatypeCleanup.js b/src/data/backwardsCompatibility/datatypeCleanup.js
index 7df32d35bc74b9bb864c93260ccd88f2bb59d203..e4508b02edd2872d3245730d7f61e19263fa88c6 100644
--- a/src/data/backwardsCompatibility/datatypeCleanup.js
+++ b/src/data/backwardsCompatibility/datatypeCleanup.js
@@ -1938,7 +1938,7 @@ window.ArcologyDatatypeCleanup = function ArcologyDatatypeCleanup() {
 	} else if (V.localEcon === 100) {
 		V.farmyardFoodCost = 5
 	} else {
-		V.farmyardFoodCost = ath.min(5 * (1 + 1.5 * Math.sqrt(Math.trunc(100000/$localEcon-1000)/10)/100), 6.5)
+		V.farmyardFoodCost = Math.min(5 * (1 + 1.5 * Math.sqrt(Math.trunc(100000/$localEcon-1000)/10)/100), 6.5)
 	}
 	V.foodCost = Math.trunc(2500 / V.localEcon);
 	V.drugsCost = Math.trunc(10000 / V.localEcon);