retrieve ner and nerinv to help us get the parent