fixes #223

only really wanted to do a pull request on SHA: 6d356175f75f0bda5f1ee587b212d1322a550e68