check for "undefined" before urlifying tweets