fix connect options