diff --git a/autofuse/codegen/api_call/elewise/binary_api_tmp_call.cpp b/autofuse/codegen/api_call/elewise/binary_api_tmp_call.cpp
index ad511aa5..75466c15 100644
--- /opt/cloud/slavespace/usr1/096471637100f3de0fcfc01072822a80/ut/autofuse/codegen/api_call/elewise/binary_api_tmp_call.cpp
+++ /opt/cloud/slavespace/usr1/096471637100f3de0fcfc01072822a80/ut/autofuse/codegen/api_call/elewise/binary_api_tmp_call.cpp
@@ -29,8 +29,8 @@
                                   const std::vector<std::reference_wrapper<const Tensor>> &inputs,
                                   const std::vector<std::reference_wrapper<const Tensor>> &outputs,
                                   std::string &result) const {
-  size_t x1_idx = 0;
-  size_t x2_idx = 1;
+  const size_t x1_idx = 0;
+  const size_t x2_idx = 1;
 
   auto x1 = inputs[x1_idx].get();
   auto x2 = inputs[x2_idx].get();

