cleanup unused val leftover from tree manipulation