fixing mem links, most id deletes work