diff --git a/src/uncategorized/randomIndividualEvent.tw b/src/uncategorized/randomIndividualEvent.tw
index 99a6d32631dfa30cec38da87af614d0cc6e94f95..6aeb4ba4f6eb9a0c91e1d3978cc8c655919b44a9 100644
--- a/src/uncategorized/randomIndividualEvent.tw
+++ b/src/uncategorized/randomIndividualEvent.tw
@@ -497,8 +497,8 @@
 	<<if ($REIfYouEnjoyItSub != 0)>>
 	  <<set $RETSevent.push("if you enjoy it")>>
 	<</if>>
-	<<if $RESimpleAssaultIDs.length > 0)>>
-	<<if $canAchieveErection($eventSlave)>>
+	<<if ($RESimpleAssaultIDs.length > 0)>>
+	<<if canAchieveErection($eventSlave)>>
 		<<set $RETSevent.push("simple assault")>>
 	<</if>>
 	<</if>>
diff --git a/src/uncategorized/reBrothelFunction.tw b/src/uncategorized/reBrothelFunction.tw
index 7f3a64438f07774369085701878e43b27480c979..ae2a2544eee7f2d927020c8da273048e482840fb 100644
--- a/src/uncategorized/reBrothelFunction.tw
+++ b/src/uncategorized/reBrothelFunction.tw
@@ -64,7 +64,7 @@ The last of these requests comes in the form of a letter, stamped with the heral
 		<<set $vaginalTotal += 1>>
 		<<set $slaves[$i].analCount += 1>>
 		<<set $analTotal += 1>>
-		<<elseif canDoAnal($slaves[$i])>>>
+		<<elseif canDoAnal($slaves[$i])>>
 		<<set $slaves[$i].analCount += 2>>
 		<<set $analTotal += 2>>
 		<<else>>