handle nils in text
More exceptions, more edge cases.