small tweak within labeling.py