fixes #296