Fix inverse mode.