fix bug for for new process