GlobalVariables correction

on startup