fixed naming issues in index.php