fixes #694