Fix nodename bug