fixing unuseful setOptions()
Merge pull request #328 from stefanofornari/master

fixing unuseful setOptions()