fixes #239