remove internal assumption that node_name is null-terminated