fixes #244