invert fix