Graph labeling fix