removed extra tree elements