bug fix . add setting for muti process