fixes #1551