fixes #1756