fix setOptions for Double and Donut