fixes #10784