fixes #1983