better connection handling for object with nodes