don't write name if none exists