fixes #220 somehow