fixed inversions