fix connect button status