connectedRecursivelyTo infinte loop fixed