fixes #956