fix up from pull #44
Merge pull request #46 from mubix/pull44

fix up from pull #44