fixed bug with unique firing an error when leaving a node with the same name