removed bug in the index.php file