Fixed sytanx in addComment function