                             if result_regex isnt null
                                 element.type = 'anonymous_function'
                                 list_args = result_regex[2]?.split(',')
-                                for arg in list_args
-                                    arg.replace(/(^\s*)|(\s*$)/gi,"") # Removing leading/trailing spaces
                                 element.args = list_args
                                 new_context = DataUtils.deep_copy context
                                 for arg in list_args
+                                    arg = arg.replace(/(^\s*)|(\s*$)/gi,"") # Removing leading/trailing spaces
                                     new_context[arg] = true
                                 element.context = new_context
                                 to_skip = result_regex[0].length

                            result.description = null
                            result.status = 'done'
                            break
                        else if element.type is 'function'
                            result.suggestions = null
                            result.status = 'look_for_description'
                            break
                        else if element.type is 'anonymous_function' or element.type is 'separator' or element.type is 'object' or element.type is 'object_key' or element.type is 'return'
                            # element.type === 'object' is impossible I think with the current implementation of extract_data_from_query
                            result.suggestions = null
                            result.status = 'look_for_description'




        # Highlight a suggestion in case of a mouseover
        mouseover_suggestion: (event) =>
            @highlight_suggestion event.target.dataset.id
