fix error in node register