fix bug for Parallel Naive