fixes #1344