Fix 'sy connect' (NullPointerException)