vartree cleanup