set hostname from node.name not node['hostname']