fixing Quicksort