Fixes #8. Thanks to mwulftange for the heads up