Fixed dollar sign variable in global scope