fixed another bug in logistic_rank, added team reader