fixes #411