removed unused variables in prereqs tree code