override.global.php fix use of  global