cleanup tree page