remove dead code
delete child objects from index