fixed the signature of parallel_process_finalize