avoid trying to concat nil to a string