rename nodeBag to elementBag in a bunch of places