corrections for rotateLabels