fix connect