fix the parallelized issue