Fix some bugs in node labels.