Removed bug in index.php file