fixes #1892