fixes #692