fix the bug about MergeSort