option bug fix after changing double to real