Minor inversion correction fix