Fixed more errors in Matcha:connect.