remove unused stuff from main.php