Fix TextTransformation related error