Fixing issue with creating globals from scratch