fixes #1426