fixed error in index.php