Bug fix.
Merge pull request #44 from r-e-d/master

Bug fix.