bubble sort fix