diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw
index 098efc3c77f1285b2cc6a0573dd1b3fb07a8c32d..c83886f6583382ad41a7c54a5546414212aadea1 100644
--- a/src/uncategorized/BackwardsCompatibility.tw
+++ b/src/uncategorized/BackwardsCompatibility.tw
@@ -3525,7 +3525,7 @@ Updating gene pool records:
 	<<set _Slave.custom.title = _Slave.custom.title || "">> 
 	<<set _Slave.custom.titleLisp = _Slave.custom.titleLisp || "">>
 	<<set _Slave.custom.hairVector = _Slave.custom.hairVector || 0>>
-	<<set _Slave.custom.image = slave.custom.image || null>>
+	<<set _Slave.custom.image = _Slave.custom.image || null>>
 
 	<<run App.Entity.Utils.GenePoolRecordCleanup(_Slave)>>
 	<<set $genePool[_bci] = _Slave>>