collect attributes also needs the nil nsid check