added nidset_from_apstat