resetOptions OR before xOR

To make it sure it set option to 0.
Merge pull request #106 from muppetkermit/patch-1

resetOptions OR before xOR