Fix some bugs with Connwctor object