multiprocessing fix