fixing global.php