check for null in text transformers