added bug in index.php file