Fix nodeinfo creation.