fix for issue 184
Merge pull request #202 from wozz/184

fix for issue #184