diff --git a/cmake_targets/autotests/tools/search_repl.py b/cmake_targets/autotests/tools/search_repl.py
index ee6b77e123e5d82b77bb86c4f2160509e7370640..ac62e15eb53433cc12897009d1815f498df3741c 100644
--- a/cmake_targets/autotests/tools/search_repl.py
+++ b/cmake_targets/autotests/tools/search_repl.py
@@ -20,7 +20,7 @@ file.close()
 
 if keyword == 'mme_ip_address':
    #string =  (re.sub(r"mme_ip_address\s*=\s*\([^\$]+)\)\s*;\s*", r"<% tex \1 %>", t, re.M)
-   replacement_text = keyword + ' =  ({' + replacement_text + ')} ; '
+   replacement_text = keyword + ' =  ( { ' + replacement_text + ' } ) ; '
    string = re.sub(r"mme_ip_address\s*=\s*\(([^\$]+?)\)\s*;", replacement_text, string, re.M)
 elif keyword == 'N_RB_DL':
    replacement_text = keyword + ' =  ' + replacement_text + ' ; '