diff --git a/object_print3d_utils/operators.py b/object_print3d_utils/operators.py
index 3f66f07b2c8a6e83023cc0a5a44b815b70b34a61..50988163051f145a11211d9052c37340187322de 100644
--- a/object_print3d_utils/operators.py
+++ b/object_print3d_utils/operators.py
@@ -757,8 +757,7 @@ class MESH_OT_print3d_align_to_xy(Operator):
             else:
                 faces = [p for p in obj.data.polygons if p.select]
 
-            face_count = len(faces)
-            if face_count < 1:
+            if not faces:
                 skip_invalid.append(obj.name)
                 continue
 
@@ -788,9 +787,7 @@ class MESH_OT_print3d_align_to_xy(Operator):
         return {'FINISHED'}
 
     def invoke(self, context, event):
-        if context.mode in {'EDIT_MESH', 'OBJECT'}:
-            pass
-        else:
+        if context.mode not in {'EDIT_MESH', 'OBJECT'}:
             return {'CANCELLED'}
         return self.execute(context)
 
diff --git a/object_print3d_utils/ui.py b/object_print3d_utils/ui.py
index b5d69214eabfca8ff78367beb540fbd0082b9c1c..e000544c38bac99d648eeec251bfa0f5176e6619 100644
--- a/object_print3d_utils/ui.py
+++ b/object_print3d_utils/ui.py
@@ -116,7 +116,7 @@ class VIEW3D_PT_print3d_transform(View3DPrintPanel, Panel):
         row.operator("mesh.print3d_scale_to_volume", text="Volume")
         row.operator("mesh.print3d_scale_to_bounds", text="Bounds")
         row = layout.row(align=True)
-        row.operator("mesh.print3d_align_to_xy", text="Align to XY Plane")
+        row.operator("mesh.print3d_align_to_xy", text="Align XY")
         row.prop(print_3d, "use_alignxy_face_area")