fixes #10798