make case transformation functions compatible with mc