fixing wrong paths in index.php