fix connect workflow