more robust node picking