fix method currect_loss and currect_ranking