diff --git a/src/Mods/SpecialForce/SpecialForce.js b/src/Mods/SpecialForce/SpecialForce.js
index 7f7a9b7d592b70a669553be5265de1bd9bcaaa03..0e0aac5c4e79fc0fefd56cfcbb7ce33ab22619e6 100644
--- a/src/Mods/SpecialForce/SpecialForce.js
+++ b/src/Mods/SpecialForce/SpecialForce.js
@@ -269,7 +269,7 @@ App.SF.BC = function() {
 	} else if (typeof V.SF === "object") {
 		App.SF.Init();
 
-		if (jsDef(V.SF.Squad.Troops)) {
+		if (jsDef(V.SF.Squad) && jsDef(V.SF.Squad.Troops)) {
 			V.SF.ArmySize = V.SF.Squad.Troops;
 			delete V.SF.Squad.Troops;
 		}
diff --git a/src/arcologyBuilding/presets.js b/src/arcologyBuilding/presets.js
index 1e06d266d7795532d8d7564f36e9f65a2a969f4c..d10ccd130335a22d8b9259bf3c38b9aeeb48fb26 100644
--- a/src/arcologyBuilding/presets.js
+++ b/src/arcologyBuilding/presets.js
@@ -391,6 +391,7 @@ App.Arcology.upgrades = function(building) {
 					}
 					building.usedUpgrades.push(upgrade.id);
 					upgrade.apply();
+					cashX(-cost, "capex");
 				}));
 			outerDiv.append(div);
 			count++;