no more crash when attachment has no name