revise index.php