fixes #552