Some fix on index.php