Fix to index.php