diff --git a/libs/lib/xaal/lib/aioengine.py b/libs/lib/xaal/lib/aioengine.py
index 172ec34a50ed276ade51b79760a9d74b20ae747d..b9e7a175f48fa34718826b9e4f453c22dbe0cadf 100644
--- a/libs/lib/xaal/lib/aioengine.py
+++ b/libs/lib/xaal/lib/aioengine.py
@@ -156,7 +156,7 @@ class AsyncEngine(core.EngineMixin):
         request for each targets identied in the engine
         """
         if not msg.is_request():
-            return # should not happen, but pyright need this check
+            return
 
         targets = core.filter_msg_for_devices(msg, self.devices)
         for target in targets:
diff --git a/libs/lib/xaal/lib/engine.py b/libs/lib/xaal/lib/engine.py
index e7118e7cb2649d99a5be45245755fac53af27e95..f33c47b7dd4a8622dfde6d9976e9fd43c3836c00 100644
--- a/libs/lib/xaal/lib/engine.py
+++ b/libs/lib/xaal/lib/engine.py
@@ -115,8 +115,8 @@ class Engine(core.EngineMixin):
         request for each targets identied in the engine
         """
         if not msg.is_request():
-            return # should not happen, but pyright need this check
-
+            return 
+        
         targets = core.filter_msg_for_devices(msg, self.devices)
         for target in targets:
             if msg.is_request_isalive():