Fixes #217 - Which is actually a bug in code

I found that there is a problem with the code, wrong options are read.  This pull request fixes the issue.
Using Chrome 26 on Mac OSX Mountain Lion