Grab node name properly