Correct fix for globals