diff --git a/src/pregmod/widgets/bodyswapWidgets.tw b/src/pregmod/widgets/bodyswapWidgets.tw
index 3b82bce59326b89c5866d4217ffeb1e22acf1742..79c3eaa5d0f1d95d1a3c7f20d5165ca9cab45770 100644
--- a/src/pregmod/widgets/bodyswapWidgets.tw
+++ b/src/pregmod/widgets/bodyswapWidgets.tw
@@ -125,7 +125,9 @@
 <<set $args[0].chastityVagina = $args[1].chastityVagina>>
 <<set $args[0].chastityPenis = $args[1].chastityPenis>>
 <<set $args[0].chastityAnus = $args[1].chastityAnus>>
-<<set $args[0].custom.tattoo = $args[1].custom.tattoo>>
+<<if def $args[0].custom && def $args[1].custom>>
+	<<set $args[0].custom.tattoo = $args[1].custom.tattoo>>
+<</if>>
 <<set $args[0].bellyTat = $args[1].bellyTat>>
 <<set $args[0].abortionTat = $args[1].abortionTat>>
 <<set $args[0].birthsTat = $args[1].birthsTat>>