fix bugs on ParallelHeuristics