fix #49
Merge pull request #50 from speccode/bugfix

fix #49 ... Good catch!