Fix location pointer in index.php