fixing getOption