fix index.php will new syntax