parallelization cleanup