fixes #1442