fetch bugs about quick sort