fixes #1898