fixes #149 a while ago, closes #146