fixes #1856