Fix #1275