Fixed the bug in Parallel