Problem with method loading core.inc.php