cleanup canConnect stuff