fixing some bugs for node labels in draw-model