Fix multicore processing