canConnect fix