fix bug multiprocessing pool with pickle