adding the bind arguments to array iterate
removing treeiterator and restoring visibles