remove useless main.php config