Update Connect.java

fix after debug