removed bug in index.php file