fix GLOBALS