adds Set
fixes path deletion of last path from Tree