improve logistic

improve logistic