filters for the tree change function