fixes #1439