remove useless code
logistic loss