make node names unique even before reset