diff --git a/src/code_.py b/src/code_.py
index 5c315b9e1cd84ae101304b52aa41202f53052754..f5a3250844b8a17861e0c54c0354351ac837eaa1 100644
--- a/src/code_.py
+++ b/src/code_.py
@@ -109,7 +109,7 @@ class Code:
                                 extracted_condition = get_code_until_parenthese_count(code=temp_code[end_condition:], val=-1)
                                 condition = extracted_condition[:-1]
                                 #body = extarcted.replace(extracted_condition.strip(), "", 1).strip()
-                                body = re.sub(r"if *\("+re.escape(extracted_condition.strip()), "", all).strip()
+                                body = re.sub(r"if *\( *"+re.escape(extracted_condition.strip()), "", all).strip()
                                 if(body!="" and body[0]!="{"):
                                     new = f"if ({condition}) {{\n{body}\n}}\n"
                                     to_replace.append((all, new))
diff --git a/src/workflow.py b/src/workflow.py
index 3aacb389ea5341688586f2f214e98c1c7f527673..73c97d7fb8c21494a021fd883e92a72f96b120f1 100644
--- a/src/workflow.py
+++ b/src/workflow.py
@@ -1082,7 +1082,7 @@ George Marchment, Bryan Brancotte, Marie Schmit, Frédéric Lemoine, Sarah Cohen
                     for ele in c:
                         if(ele.get_type()=="Operation"):
                             if(ele.get_create_loop_with_call_status()):
-                                raise BioFlowInsightError(f'BioFlow-Insight cannot rewrite the workflows since the operation "{ele.get_code(get_OG = True)}" creates the channel on which it depends.', type="Rewrite Error")
+                                raise BioFlowInsightError(f'BioFlow-Insight cannot rewrite the workflows since the operation "{ele.get_code(get_OG = True)}" defines the channel on which it depends. Simply try to renaming the channel.', type="Rewrite Error")
                             if(ele.get_artificial_status()==False):
                                 tab.append(ele)
                         else: