fix for exception reported by Stefano when adding a new node with automatic connect command execution