fixes #54
Merge pull request #57 from zed/issue-54

fixes #54