diff --git a/src/uncategorized/labReport.tw b/src/uncategorized/labReport.tw
index 1521e662663a76535e4a860c01210b68a1dbe98c..328d337f149a992ed210f270c36a894ee91effb9 100644
--- a/src/uncategorized/labReport.tw
+++ b/src/uncategorized/labReport.tw
@@ -25,7 +25,7 @@
 					<<= setup.prosthetics[_task.id].name>> construction project.
 					<<set $prosthetics[_task.id].amount += 1>>
 				<<case "craftFit">>
-					<<set_i = $slaves.findIndex(function(s) {return s.ID == _task.slaveID}), addProsthetic($slaves[_i], _task.id)>>
+					<<set _i = $slaveIndices[_task.slaveID], addProsthetic($slaves[_i], _task.id)>>
 					project to construct <<= addA(setup.prosthetics[_task.id].name)>> for <<= SlaveFullName($slaves[_i])>>.
 				<</switch>>
 				<<set $researchLab.tasks.shift(), _task = $researchLab.tasks[0]>>