Fixed index.php connect