Fix in optionsstate