Fixed date in main.php