there is a problem with insertion sort