fix #13
Merge pull request #14 from ddavison/fix-13

fix #13