some cleanup
added get all elements in view node