fix connect.php