diff --git a/src/cheats/cheatEditSlave.js b/src/cheats/cheatEditSlave.js
index ac86a3754a38b323d5d485f886f088f0c67359eb..7e02c092bd675b52558c4205ae34449a8518d702 100644
--- a/src/cheats/cheatEditSlave.js
+++ b/src/cheats/cheatEditSlave.js
@@ -5,15 +5,6 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) {
 
 	App.UI.tabBar.handlePreSelectedTab(V.tabChoice.RemoteSurgery);
 	App.UI.DOM.appendNewElement("h1", el, `Cheat edit ${slave.slaveName}`);
-	App.UI.DOM.appendNewElement("div", el, App.UI.DOM.link(
-		"Apply cheat edits",
-		() => {
-			cleanup(tempSlave);
-			V.slaves[V.slaveIndices[slave.ID]] = tempSlave;
-		},
-		[],
-		"Cheat Edit JS Apply"
-	));
 
 	el.append(App.Desc.longSlave(tempSlave));
 
@@ -61,7 +52,7 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) {
 	el.append(App.UI.tabBar.makeTab('family', makeSpanIded("content-family", App.Intro.editFamily(slave))));
 	el.append(App.UI.tabBar.makeTab('body-mods', makeSpanIded("content-body-mods", App.UI.bodyModification(slave, true))));
 	el.append(App.UI.tabBar.makeTab('salon', makeSpanIded("content-salon", App.UI.salon(slave, true))));
-	el.append(App.UI.tabBar.makeTab('finalize', makeSpanIded("content-finalize", App.StartingGirls.finalize(slave))));
+	el.append(App.UI.tabBar.makeTab('finalize', makeSpanIded("content-finalize", finalize())));
 
 	return el;
 
@@ -144,4 +135,16 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) {
 			slave.prestigeDesc = "";
 		}
 	}
+
+	function finalize() {
+		return App.UI.DOM.makeElement("div", App.UI.DOM.link(
+			"Apply cheat edits",
+			() => {
+				cleanup(tempSlave);
+				V.slaves[V.slaveIndices[slave.ID]] = tempSlave;
+			},
+			[],
+			"Cheat Edit JS Apply"
+		));
+	}
 };