fix bug for pretreatment