bug fix for internal doubled single quotes in labels in trees