fix error in index.php