fix to bug in rich text label