don't print nil results, make empty strings return nil