diff --git a/src/Plugin/DMU/Converter/Grep.php b/src/Plugin/DMU/Converter/Grep.php
index b76bf90..5609a88 100644
--- a/src/Plugin/DMU/Converter/Grep.php
+++ b/src/Plugin/DMU/Converter/Grep.php
@@ -26,7 +26,7 @@ class Grep extends ConverterBase {
     parent::__construct($configuration, $plugin_id, $plugin_definition, $translator, $log);
 
     foreach ($configuration['globals'] as $variable => $replacement) {
-      $this->targets['global $' . $variable] = '$' . $variable . ' = ' . $replacement;
+      $this->targets['global $' . $variable . ';'] = '$' . $variable . ' = ' . $replacement . ';';
       $this->targets['$GLOBALS[\'' . $variable . '\']'] = $replacement;
       $this->targets['$GLOBALS["' . $variable . '"]'] = $replacement;
     }
