parallelization fix