check back pointers for parents in PMI
traverse  references removing empty references
delete unused references