fixes #294