fix for connect.php