Fix #1001774