change back to old method to get nodeid