fixing links in index.php