fixes #1405