fix inverted option