this fixes #294