removing debug from core.php