Fix setOption method call