reproduce of #10385