getOption fix