remove unused getOption method