fix connect btn error