BUG: fix a bug when try run multi-process but only one process can be attained