better warning message for toTextWarn