fixes #303