diff --git a/modules/scripts.py b/modules/scripts.py
index d5c8b0a22..15da9c070 100644
--- a/modules/scripts.py
+++ b/modules/scripts.py
@@ -457,6 +457,9 @@ class ScriptRunner:
def init_field(title):
if title == 'None': # called when an initial value is set from ui-config.json to show script's UI components
return
+ if title not in self.titles:
+ errors.log.error(f'Script not found: {title}')
+ return
script_index = self.titles.index(title)
self.selectable_scripts[script_index].group.visible = True
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py
index 98c3fd8e5..e8f649182 100644
--- a/scripts/xyz_grid.py
+++ b/scripts/xyz_grid.py
@@ -20,12 +20,12 @@ class Script(scripts.Script):
current_axis_options = []
def title(self):
- return "X/Y/Z Grid"
+ return "XYZ Grid"
def ui(self, is_img2img):
self.current_axis_options = [x for x in axis_options if type(x) == AxisOption or x.is_img2img == is_img2img]
with gr.Row():
- gr.HTML('  X/Y/Z Grid
')
+ gr.HTML('  XYZ Grid
')
with gr.Row():
with gr.Column():
with gr.Row(variant='compact'):