change core.php ref