fixes index.php