fix connect dep