clean up multicore/distributed