fix get-node for case when name supplied