Fixing duplicate node ID