diff --git a/sanityCheck b/sanityCheck
index 8a552a37bcb211f0a841737b3afbb92c18c13eb9..af68ab23589a494a7b318634e89c521697f20551 100755
--- a/sanityCheck
+++ b/sanityCheck
@@ -67,6 +67,10 @@ $GREP -e "activeSlave[.]" --and -e "slaves\[..\?\][.]" --and --not -e '[.]ID' --
 $GREP "<<set[^{>=]*==" -- 'src/*' | myprint "DoubleEqualsInSet"
 # Check for, e.g   <<if slaves[foo]>>
 $GREP "<<\([^>]\|[^>]>[^>]\)*[^$]slaves\[" -- 'src/*' | myprint "MissingDollar"
+# Check for missing $ or _ in variable name:
+$GREP -e "<<[a-zA-Z]\([^>\"]\|[^>]>[^>]\|\"[^\"]*\"\)* [a-zA-Z]\+ * =" -- src/*.tw | myprint "MissingDollar2"
+# Check for missing command, e.g.  <<foo =
+$GREP -e "<<[a-zA-Z]* = *" -- src/*.tw | myprint "BadCommand"
 # Check for duplicate words, e.g. with with
 $GREP -e  " \(\b[a-zA-Z][a-zA-Z]\+\) \1\b " --and --not -e " her her " --and --not -e " you you " --and --not -e " that that " --and --not -e " in in " --and --not -e " is is " -- 'src/*' | myprint "Duplicate words"
 
diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw
index c189d9a951003d813add41b0663ddc776bf99416..a559671fc80c87b511e7795db616e900820d87f7 100644
--- a/src/init/storyInit.tw
+++ b/src/init/storyInit.tw
@@ -573,9 +573,7 @@ DairyRestraintsSetting($dairyRestraintsSetting)
 <<set $assignFilter = 0>>
 
 /*pregmod variables */
-<<set $publiclyouted = 0>> /* pending removal */
 <<set $newDescriptions = 0>>
-<<set $sellBaby = 0>>
 <<set $specialSlavesPriceOverride = 0>>
 <<set $pregAccessibility = 0>>
 <<set $dickAccessibility = 0>>
@@ -592,7 +590,6 @@ DairyRestraintsSetting($dairyRestraintsSetting)
 <<set $cumPipeline = 0>>
 <<set $burstee = 0>>
 <<set $slaveDeath = 0>>
-<<set $deathee = 0>>
 <<set $clinicInflateBelly = 0>>
 <<set $playerBred = 0>>
 <<set $propOutcome = 0>>
@@ -618,7 +615,6 @@ DairyRestraintsSetting($dairyRestraintsSetting)
 <<set $pregSpeedControl = 0>>
 <<set $clinicSpeedGestation = 0>>
 <<set $playerSurgery = 0>>
-<<set $playerSurgeryType = 0>>
 <<set $bodyswapAnnounced = 0>>
 <<set $allowFamilyTitles = 0>>
 
@@ -732,7 +728,6 @@ DairyRestraintsSetting($dairyRestraintsSetting)
 <<set $limbsCompleted = 0>>
 <<set $limbs = []>>
 <<set $ImplantProductionUpgrade = 0>>
-<<set $implantFillable = 0>>
 <<set $permaPregImplant = 0>>
 <<set $injectionUpgrade = 0>>
 <<set $hormoneUpgradeMood = 0>>
diff --git a/src/npc/databases/dSlavesDatabase.tw b/src/npc/databases/dSlavesDatabase.tw
index d5dd1b0bdf4cecf7097630d0e2351efdcd18b150..744918ba8667e04fc330afedeba896bd427c95ed 100644
--- a/src/npc/databases/dSlavesDatabase.tw
+++ b/src/npc/databases/dSlavesDatabase.tw
@@ -208,7 +208,7 @@
 /*Reduced weight, changed eyes, added nail polish -BoneyM*/
 
 <<set _HS = {}>>
-<<set _HS.slaveName = "Kino", _HS.birthName = "Kino", _HS.origin = "Formerly owned by someone who fancied themselves a geneticist, where she acquired permanently discolored hair and odd fetishes.", _HS.ID = _i++, _HS.birthWeek = random(0,51), _HS.actualAge = 21, _HS.physicalAge = 21, _HS.visualAge = 21, _HS.health = 40, _HS.devotion = -75, _HS.height = 155, _HS.race = "white", _HS.eyeColor = "blue-green", _HS.hColor = "blue", _HS.pubicHColor = "blue", _HS.skin = "tanned", _HS.hLength = 30, _HS.hStyle = "short, spiky, with a long shoulder-length lock leading from her temples down, one on each side", pubicHStyle = "waxed", _HS.boobs = 650, _HS.vagina = 1, _HS.vaginaLube = 1, _HS.anus = 1, _HS.ovaries = 1, _HS.vaginalSkill = 35, _HS.oralSkill = 35, _HS.analSkill = 35, _HS.combatSkill = 1, _HS.intelligence = -1, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.customDesc = "She has a vertical scar through her right eye, is a dabbling artist, and is an oviposition fetishist.">>
+<<set _HS.slaveName = "Kino", _HS.birthName = "Kino", _HS.origin = "Formerly owned by someone who fancied themselves a geneticist, where she acquired permanently discolored hair and odd fetishes.", _HS.ID = _i++, _HS.birthWeek = random(0,51), _HS.actualAge = 21, _HS.physicalAge = 21, _HS.visualAge = 21, _HS.health = 40, _HS.devotion = -75, _HS.height = 155, _HS.race = "white", _HS.eyeColor = "blue-green", _HS.hColor = "blue", _HS.pubicHColor = "blue", _HS.skin = "tanned", _HS.hLength = 30, _HS.hStyle = "short, spiky, with a long shoulder-length lock leading from her temples down, one on each side", _HS.pubicHStyle = "waxed", _HS.boobs = 650, _HS.vagina = 1, _HS.vaginaLube = 1, _HS.anus = 1, _HS.ovaries = 1, _HS.vaginalSkill = 35, _HS.oralSkill = 35, _HS.analSkill = 35, _HS.combatSkill = 1, _HS.intelligence = -1, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.customDesc = "She has a vertical scar through her right eye, is a dabbling artist, and is an oviposition fetishist.">>
 <<set $heroSlaves.push(_HS)>>
 /*Added combat skill, increased health, added origin -BoneyM*/
 
diff --git a/src/uncategorized/buySlaves.tw b/src/uncategorized/buySlaves.tw
index 9f8b8e755bf40f4120f668eb577a92865124aa17..ed4854d7c58f322853df17fa7ec69ef108761df1 100644
--- a/src/uncategorized/buySlaves.tw
+++ b/src/uncategorized/buySlaves.tw
@@ -159,7 +159,7 @@ The parts of your arcology you own can house a total of $PopCap menial slaves.
 <</if>>
 The market price of menials is ¤_menialPrice.
 <<set _optionsBreak = 0>>
-<<if $PopCap < $helots+$fuckdolls+$menialBioreactors>>
+<<if $PopCap > $helots+$fuckdolls+$menialBioreactors>>
 	[[Buy|Buy Slaves][$helots+=1,$menialDemandFactor+=1,$cash-=_menialPrice]]
 	<<if $cash > _menialPrice*10>>
 		[[(x10)|Buy Slaves][$helots+=10,$menialDemandFactor+=10,$cash-=_menialPrice*10]]
@@ -219,7 +219,7 @@ The market price of menials is ¤_menialPrice.
 <<if ($fuckdolls > 0) || ($arcologies[0].FSPaternalist == "unset")>>
 The market price of standard fuckdolls is ¤<<print _menialPrice*2>>.
 <<set _optionsBreak = 0>>
-<<if $PopCap < $helots+$fuckdolls+$menialBioreactors>>
+<<if $PopCap > $helots+$fuckdolls+$menialBioreactors>>
 <<if $arcologies[0].FSPaternalist == "unset">>
 	[[Buy|Buy Slaves][$fuckdolls+=1,$menialDemandFactor+=1,$cash-=_menialPrice*2]]
 	<<if $cash > _menialPrice*20>>
@@ -257,7 +257,7 @@ The market price of standard fuckdolls is ¤<<print _menialPrice*2>>.
 <<if ($menialBioreactors > 0) || ($arcologies[0].FSPaternalist == "unset")>>
 The market price of standard bioreactors is ¤<<print (_menialPrice-100)>>.
 <<set _optionsBreak = 0>>
-<<if $PopCap < $helots+$fuckdolls+$menialBioreactors>>
+<<if $PopCap > $helots+$fuckdolls+$menialBioreactors>>
 <<if $arcologies[0].FSPaternalist == "unset">>
 	[[Buy|Buy Slaves][$menialBioreactors+=1,$menialDemandFactor+=1,$cash-=(_menialPrice-100)]]
 	<<if $cash > (_menialPrice-100)*10>>
diff --git a/src/uncategorized/endWeek.tw b/src/uncategorized/endWeek.tw
index afd8588a02199b9469047dcd7b33de868eed89f4..b89fc61a1509a74c863278c8808c6cfb9fc4fc5c 100644
--- a/src/uncategorized/endWeek.tw
+++ b/src/uncategorized/endWeek.tw
@@ -121,7 +121,7 @@
 	<<set $PC.preg++>>
 <</if>>
 
-<<set $HGEnergy = 0, $HGCum = 0, $HGSlaveSuccess = 0, $HeadGirl = 0, $HGRelease = 1, $Recruiter = 0, $Madam = 0, $madamCashBonus = 0, $DJ = 0, $DJRepBonus = 0, $Milkmaid = 0, $Collectrix = 0, $Stewardess = 0, $Schoolteacher = 0, $Wardeness = 0, $Concubine = 0, $Attendant = 0, $Nurse = 0, $Bodyguard = 0, $bedSlaveOne = 0, $bedSlaveTwo = 0, $bedSlaveThree = 0, $bedSlaveFour = 0, $fuckSlaves = 0, $freeSexualEnergy = 0, $publicServants = 0, $cumSlaves = 0, $averageDick = 0, $slavesWithWorkingDicks = 0>>
+<<set $HGEnergy = 0, $HGCum = 0, $HGSlaveSuccess = 0, $HeadGirl = 0, $HGRelease = 1, $Recruiter = 0, $Madam = 0, $madamCashBonus = 0, $DJ = 0, $DJRepBonus = 0, $Milkmaid = 0, $Collectrix = 0, $Stewardess = 0, $Schoolteacher = 0, $Wardeness = 0, $Concubine = 0, $Attendant = 0, $Nurse = 0, $Bodyguard = 0, $fuckSlaves = 0, $freeSexualEnergy = 0, $publicServants = 0, $cumSlaves = 0, $averageDick = 0, $slavesWithWorkingDicks = 0>>
 
 /* GAMEOVERS */
 <<if $slaves.length < 1>>
diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw
index fe599721f301606a2b23c6728809068d5b4e3300..b8eb0b88e1acb1aecc423608060cfe2f0d5e412c 100644
--- a/src/uncategorized/nextWeek.tw
+++ b/src/uncategorized/nextWeek.tw
@@ -206,22 +206,22 @@
 
 /% These are variables that either should be made into _temp vars or should be Zeroed out once done with them instead of here. This can also interfere with debugging or hide NaN's as zeroing things out would clear a NaN. Also could stop from NaN's getting worse? %/
 /% Integer and float variables. No real need to zero them out but doesn't hurt to have them in a known state, though this might mask variables NaN'ing out. Takes up the least amount of Memory besides a "" string. %/
-<<set $averageProsperity = 0, $beauty = 0, $beautyMultiplier = 0, $boobsID = -1, $boobsInterestTargetID = -1, $brideSlave = -1, $buttslutID = -1, $buttslutInterestTargetID = -1, $cumslutID = -1, $FResult = 0, $groomSlave = -1, $humiliationID = -1, $humiliationInterestTargetID = -1, $i = 0, $I = 0, $individualCosts = 0, $influenceBonus = 0, $j = 0, $learning = 0, $m = 0, $masochistID = -1, $masochistInterestTargetID = -1, $opinion = 0, $r = 0, $subID = -1, $submissiveInterestTargetID = -1, $weddingSlaveID = -1, $x = 0, $y = 0, $relationID = 0, $tempMF = 0, $relationType = 0>>
+<<set $averageProsperity = 0, $beauty = 0, $beautyMultiplier = 0, $boobsID = -1, $boobsInterestTargetID = -1, $brideSlave = -1, $buttslutID = -1, $buttslutInterestTargetID = -1, $cumslutID = -1, $FResult = 0, $groomSlave = -1, $humiliationID = -1, $humiliationInterestTargetID = -1, $i = 0, $I = 0, $individualCosts = 0, $influenceBonus = 0, $j = 0, $learning = 0, $masochistID = -1, $masochistInterestTargetID = -1, $opinion = 0, $r = 0, $subID = -1, $submissiveInterestTargetID = -1, $weddingSlaveID = -1, $x = 0>>
 
 /% Other arrays %/
 <<set $events = [], $FSAcquisitionEvents = [], $FSNonconformistEvents = [], $nurseMolestationSubIDs = [], $PESSevent = [], $PETSevent = [], $qualifiedNicknames = [], $REAnalCowgirlSubIDs = [], $REButtholeCheckinIDs = [], $RECIevent = [], $recruit = [], $RETasteTestSubIDs = [], $qualifiedFS = [], $recruitedType = []>>
 
 /% Slave Objects using 0 instead of null. Second most memory eaten up. %/
-<<set $activeSlave = 0, $displaySlave = 0, $domSlave = 0, $eventSlave = 0, $REBoobCollisionSub = 0, $REIfYouEnjoyItSub = 0, $RERelationshipSlave = 0, $RESadisticDescriptionSub = 0, $REShowerForceSub = 0, $secondSlave = 0, $slaveWithoutBonuses = 0, $subSlave = 0, $milkTap = 0, $relation = 0>>
+<<set $activeSlave = 0, $displaySlave = 0, $domSlave = 0, $eventSlave = 0, $REBoobCollisionSub = 0, $REIfYouEnjoyItSub = 0, $RERelationshipSlave = 0, $RESadisticDescriptionSub = 0, $REShowerForceSub = 0, $slaveWithoutBonuses = 0, $subSlave = 0, $milkTap = 0, $relation = 0>>
 
 /% Slave Objects that never get zeroed so null them here. Second most memory eaten up. %/
-<<set $alphaTwin = null, $assayedSlave = null, $beforeGingering = null, $betaTwin = null, $mother = null, $olderSister = null, $recruiterMother = null, $recruiterSisterOlder = null, $recruiterSisterYoung = null, $recruiterTwin = null, $sibling = null, $tempLover = null, $tempRival = null, $tempSub = null>>
+<<set $alphaTwin = null, $assayedSlave = null, $beforeGingering = null, $betaTwin = null, $mother = null, $olderSister = null, $recruiterMother = null, $recruiterSister, $sibling = null>>
 
 /% Slave Object Arrays. These can take up the most memory. %/
 <<set $eligibleSlaves = [], $slavesInLine = []>>
 
 /% Strings Memory varies. %/
-<<set $analSkinDesc = "", $applyDesc = "", $bellyAccessory = "", $buyer = "", $desc = "", $event = "", $goto = "", $malefactor = "", $nickname = "", $notApplyDesc = "", $oldName = "", $situationDesc = "", $skinDesc = "", $k = "", $l = "", $j = "", $y = "", $relationType = "">>
+<<set $analSkinDesc = "", $applyDesc = "", $bellyAccessory = "", $buyer = "", $desc = "", $event = "", $goto = "", $malefactor = "", $nickname = "", $notApplyDesc = "", $oldName = "", $situationDesc = "", $skinDesc = "", $k = "">>
 /% Done with zeroing out, what should be for the most part Temps %/
 
 /*HACKY EVENT WORKAROUNDS*/
diff --git a/src/uncategorized/resMove.tw b/src/uncategorized/resMove.tw
index 567b0a0c6e6859a2b5048ef453734de7df0a3677..2b8b2a4f01a3a57df21c4d1f6fea9dc42174a785 100644
--- a/src/uncategorized/resMove.tw
+++ b/src/uncategorized/resMove.tw
@@ -125,15 +125,15 @@ as you suspected,
 			the tits, and the asses, and the lips," she concludes, her avatar starting to masturbate.
 		<<case "shemale">>
 			those big butts. It's so rare for girls to have such big butts and be anal virgins..." she trails off, her avatar starting to masturbate.
-		<<case == "amazon">>
+		<<case "amazon">>
 			all those meaty girls," her avatar blushes.
-		<<case == "businesswoman">>
+		<<case "businesswoman">>
 			all that milking potential," her avatar says, looking aroused at the possibilities.
-		<<case == "fairy">>
+		<<case "fairy">>
 			all that sweet, tasty milk!" her avatar squeaks, licking her lips and dripping with arousal.
-		<<case == "pregnant fairy">>
+		<<case "pregnant fairy">>
 			all that sweet, tasty mama milk!" her avatar squeaks, licking her lips and dripping with arousal.
-		<<case == "goddess" "hypergoddess">>
+		<<case "goddess" "hypergoddess">>
 			all those luscious, heavy tits," her avatar says, hefting one of her own.
 		<<case "loli">>
 			those tits!" her avatar says while cupping her flat chest.
diff --git a/src/uncategorized/resSale.tw b/src/uncategorized/resSale.tw
index e07580001f986eaebad4cdb97ec3135f0f49b51e..3a7499e92da1b4e4825373c0a9d43226803728f9 100644
--- a/src/uncategorized/resSale.tw
+++ b/src/uncategorized/resSale.tw
@@ -190,9 +190,9 @@ You pause for a moment, and she plunges on: "<<if $PC.title == 1>>Sir<<else>>Ma'
 		<<switch $assistantAppearance>>
 		<<case "monstergirl">>
 			shove both my cocks up her virgin anus," the monstergirl exclaims.
-		<<case == "shemale">>
+		<<case "shemale">>
 			fuck that virgin asshole," the shemale exclaims, and starts to jack off.
-		<<case == "amazon">>
+		<<case "amazon">>
 			finger fuck her virgin ass," the amazon exclaims, and helpfully raises the fingers in question.
 		<<case "businesswoman">>
 			sell her anal virginity to the highest bidder," the businesswoman exclaims.
diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw
index c12630cfc5ae8bb3860735caeb31b4a5ba92c2cc..c25ef5eb6571152985a20d962926ea010b810f05 100644
--- a/src/uncategorized/saLongTermEffects.tw
+++ b/src/uncategorized/saLongTermEffects.tw
@@ -5413,7 +5413,7 @@
 <</if>>
 
 /*
-<<if $masterSuitePregnancySlaveLuxuries is 1 and $slaves[$i].pregType is 50 and ($slaves[$i].assignment == "serve in the master suite" or $slaves[$i].assignment == "be your Concubine">>
+<<if $masterSuitePregnancySlaveLuxuries == 1 && $slaves[$i].pregType == 50 && ($slaves[$i].assignment == "serve in the master suite" || $slaves[$i].assignment == "be your Concubine")>>
 <<if $slaves[$i].diet != "high caloric">>
 <<if $slaves[$i].preg > 20>>
 	The pregnancy generator places heavy strain on her as her body @@.red;consumes itself@@ to keep releasing eggs and maintain her many developing babies.
diff --git a/src/uncategorized/seBirth.tw b/src/uncategorized/seBirth.tw
index 612533a0e015adf3e95c1f9e4fe5bf820f9ec57d..97124bf5aaafd1a0170508296bc589fe16ff3288 100644
--- a/src/uncategorized/seBirth.tw
+++ b/src/uncategorized/seBirth.tw
@@ -227,12 +227,12 @@
 
 <<else>> /*fuckdoll birth */
 	<<if $universalRulesCSec == 1>>
-		<<set csec = 1>>
+		<<set $csec = 1>>
 		$slaves[$i].slaveName's suit's systems alert that it is ready to give birth; it is taken to the remote surgery to have its child<<if $slaves[$i].pregType > 1>>ren<</if>> extracted and for it to be cleaned up.
 	<<elseif $universalRulesBirthing == 1>>
 		$slaves[$i].slaveName's suit's systems alert that it is ready to give birth. It is taken to the remote surgery to have its child<<if $slaves[$i].pregType > 1>>ren<</if>> extracted and for it to be cleaned up.
 	<<elseif $birthDamage > 10>>
-		<<set csec = 1>>
+		<<set $csec = 1>>
 		$slaves[$i].slaveName's suit's systems alert that it is ready to give birth. Since it fails to qualify as a birthing model, it is quickly taken to the remote surgery to have its child<<if $slaves[$i].pregType > 1>>ren<</if>> extracted and to be cleaned up.
 	<<else>>
 		$slaves[$i].slaveName's suit's systems alert you that it is ready to give birth. You carefully pose it as it labors on binging its child<<if $slaves[$i].pregType > 1>>ren<</if>> into the world and sit back to enjoy yourself as its <<if $slaves[$i].pregType > 1>>first<</if>> baby starts to crown. Once both it and yourself are finished, you send its offspring off and it to the autosurgery for cleaning.
diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw
index dc8df5bac485eae0de45fab81b08b4703a9e5390..0c7865c0bf980aacaa2469ac87748c43b6860bb5 100644
--- a/src/uncategorized/slaveInteract.tw
+++ b/src/uncategorized/slaveInteract.tw
@@ -1135,7 +1135,7 @@ __Hormones__: <strong><span id="hormones">
 | <<link "Painfully extreme heels">><<set $activeSlave.shoes = "extreme heels">><<replace "#shoes">>$activeSlave.shoes<</replace>><</link>>
 <</if>>
 
-<br>__Chest accessory__: ''<span id="bellyAccessory">$activeSlave.bellyAccessory</span>.''
+<br>__Torso accessory__: ''<span id="bellyAccessory">$activeSlave.bellyAccessory</span>.''
 <<link "None">><<set $activeSlave.bellyAccessory = "none">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
 | <<link "Tight corset">><<set $activeSlave.bellyAccessory = "a corset">><<replace "#bellyAccessory">>$activeSlave.bellyAccessory<</replace>><</link>>
 <<if $activeSlave.breedingMark != 1>>
diff --git a/src/uncategorized/slaveSummary.tw b/src/uncategorized/slaveSummary.tw
index 00bc6e48b969b83026076bc55c542a35a263da50..91d6e639ca80fd323e5e5bcc847d7095cf955ab7 100644
--- a/src/uncategorized/slaveSummary.tw
+++ b/src/uncategorized/slaveSummary.tw
@@ -193,7 +193,7 @@
 <<if _Slave.fuckdoll > 0>><<continue>><</if>>
 <<if $Flag == 0>>
 	<<if _Slave.assignment == "get treatment in the clinic">><<continue>><</if>>
-	<<if (_Slave.health < 20) || ($Nurse != 0 && (_Slave.chem > 0 && $clinicUpgradeFilters == 1) || ($bellyImplants == 1 && _Slave.bellyImplant > 100) || (_Slave.preg >= 1 && ($clinicSpeedGestation >= 0 || _Slave.pregControl == "speed up")))>>
+	<<if (_Slave.health < 20) || ($Nurse != 0 && (_Slave.chem > 15 && $clinicUpgradeFilters == 1) || ($bellyImplants == 1 && _Slave.bellyImplant > 100) || (_Slave.preg >= 1 && ($clinicSpeedGestation >= 0 || _Slave.pregControl == "speed up")))>>
 		<br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if ($seeImages == 1) && ($seeSummaryImages == 1)>><div class="imageRef smlImg"><<SlaveArt _Slave 1>></div><</if>>
 		<<print "[[_Slave.slaveName|Slave Interact][$activeSlave = $slaves["+_i+"]]]">>
 	<<else>>
diff --git a/src/utility/assayWidgets.tw b/src/utility/assayWidgets.tw
index 19e052a01f6f71441761a7cc3587e424d2926038..977d9873a4d19f0d71154832cb7392f283beb1eb 100644
--- a/src/utility/assayWidgets.tw
+++ b/src/utility/assayWidgets.tw
@@ -195,7 +195,7 @@
 
 <<if ($arcologies[0].FSTransformationFetishist > 20)>>
 	<<if $args[0].lips > 70>>
-	<<if $args[0].lipsImplant/$args[0].lips < 50)>>
+	<<if ($args[0].lipsImplant/$args[0].lips < 50)>>
 		<<set $beauty -= (($args[0].lips/10)+($arcologies[0].FSTransformationFetishist/20))>>
 	<</if>>
 	<</if>>
diff --git a/src/utility/descriptionWidgets.tw b/src/utility/descriptionWidgets.tw
index 6224cb67048c432cc841a044a028ecf35976d9b5..7d286fdcb21e1027aa6df62b77ca9a3117dc3999 100644
--- a/src/utility/descriptionWidgets.tw
+++ b/src/utility/descriptionWidgets.tw
@@ -7612,11 +7612,11 @@ $pronounCap has
 <<if $showImplantEffects == 1>>
 	<<if $arcologies[0].FSTransformationFetishist != "unset">>
 		<<if $activeSlave.lipsImplant > 0>>
-			They are about <<print Math.floor(($activeSlave.lipsImplant/$activeSlave.lip)*100)>>% implant.
+			They are about <<print Math.floor(($activeSlave.lipsImplant/$activeSlave.lips)*100)>>% implant.
 		<</if>>
 		<<if ($arcologies[0].FSTransformationFetishist > 20)>>
 			<<if $activeSlave.lips > 70>>
-				<<if $activeSlave.lipsImplant/$activeSlave.lips < 50)>>
+				<<if ($activeSlave.lipsImplant/$activeSlave.lips < 50)>>
 					$possessiveCap lips are huge and @@.red;disgustingly natural@@ for their size.
 				<<else>>
 					$possessiveCap lips are huge and @@.green;obviously implants,@@ as they should be.