fix enhancement #51
Merge pull request #53 from tsamaya/patch-1

resolves #51