Fix setOptions.