Problem solved also for multiprocessing