minor fix on areConected method