Fixed problems in Matcha::Connect