Corrected issue with global variables

The semi-colon in the declaration is replaced with comma to correct the
issue with global variables.