Fixed issue #39

This pull request is a patch for #39