fix for using "output(true)" in ScriptedPatch