deal with instances where you are using attributedStrings as text and not just NSString