Fix #1126