diff --git a/python_binding/operator/pybind_GenericOperator.cpp b/python_binding/operator/pybind_GenericOperator.cpp
index e249e0f5d04064558cf789ea78cd0ad4cc518030..6be4f31acde5bac14595d06570d7a3158d398db8 100644
--- a/python_binding/operator/pybind_GenericOperator.cpp
+++ b/python_binding/operator/pybind_GenericOperator.cpp
@@ -33,18 +33,14 @@ void init_GenericOperator(py::module& m) {
             IOIndex_t nbData,
             IOIndex_t nbParam,
             IOIndex_t nbOut,
-            const std::string& name = "",
+            const std::string& name,
             const py::kwargs kwargs){
-            // std::string name = "";
-            // if (kwargs.contains("name")) {
-            //     name = kwargs["name"].cast<std::string>();
-            // }
             std::shared_ptr<Node> genericNode = GenericOperator(
                 type,
                 nbData,
                 nbParam,
                 nbOut,
-                std::move(name)
+                name
             );
             if (kwargs){
                 std::shared_ptr<GenericOperator_Op> gop = std::static_pointer_cast<GenericOperator_Op>(genericNode->getOperator());
@@ -55,6 +51,6 @@ void init_GenericOperator(py::module& m) {
                 }
             }
             return genericNode;
-        });
+        }, py::arg("type"), py::arg("nb_data"), py::arg("nb_param"), py::arg("nb_out"), py::arg("name") = "");
 }
 }  // namespace Aidge