fix for 1.4
Merge pull request #4 from JohnMcLear/master

fix for 1.4