fixes #240