fixes #1383