fix connect-on-launch