Fixed exception: node was being added twice