merge sort bugfix