second commit. corrected use of eid in locate child ptr